Time for a space on jboss.org?
by Darran Lofthouse
Is it time for Undertow to have a space on jboss.org?
The reason I am asking is because I have reached the point where I am
ready to be writing some simple HowTo documents however we don't really
seem to have a place for them.
I would like to publish some example configuration and would also like
to publish some initial instructions on the architecture of the security
mechanisms and how to write them.
Regards,
Darran Lofthouse.
11 years, 11 months
Dealing with different request types in a consistent manner
by Stuart Douglas
So I have been thinking a bit about how to handle different request
types in a consistent manner. In particular, at the moment we have the
following types of request:
- Native non-blocking
- Native blocking
- Servlet blocking
This makes it very hard to write handlers that are re-usable by all
three request types, for example if we want to write some code that
handles web socket upgrades we will need three separate slightly
different implementations.
To get around this in web sockets I added the following SPI interface:
https://github.com/undertow-io/undertow/blob/master/websockets/src/main/j...
This abstracts away the details of the underling request, and makes it
possible to write a handler that deals with all three cases
consistently. Unless anyone objects, I am going to look at moving this
concept into undertow core, to hopefully make it easier to write generic
handlers that are usable for all request types.
Stuart
11 years, 11 months