[jboss-jira] [JBoss JIRA] (WFLY-3697) Custom http handlers support
Nicky Mølholm (JIRA)
issues at jboss.org
Tue Aug 12 14:38:29 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992434#comment-12992434 ]
Nicky Mølholm commented on WFLY-3697:
-------------------------------------
I have tested the custom-handlers branch customer filter support - using my own global module with a custom httphandler in it. Semantically a "filter" in the wildfly/undertow integration.
It works great and is easy to use - really good job !
I tested the priority support too. Added a breakpoint in my handler method and inspected the stack trace. It affected the filters that was declared in my standalone xml config - but I had to explicitly add a priority to them also. Otherwise, my custom filter is at the back of the chain.
I saw some other filters in the chain - that are implicitly added to the inbound calls. It would be cool if I could place my filter in front of them - or in the midst. But let us just call it a wish list ;)
> Custom http handlers support
> ----------------------------
>
> Key: WFLY-3697
> URL: https://issues.jboss.org/browse/WFLY-3697
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Web (Undertow)
> Reporter: Tomaz Cerar
> Assignee: Tomaz Cerar
> Fix For: 9.0.0.Beta1
>
>
> We need support for custom handlers & filters
> something along the lines
> {code:xml}
> <handlers>
> <handler name="myhandler" class="full.class.name" module"full.module.name" />
> <handlers>
> <filters>
> <filter name="myfilter" class="full.class.name" module"full.module.name" />
> <filters>
> {code}
> There should also be a way to pass in arbitrary config options
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list