[undertow-dev] socket connection

Sascha Sadat-Guscheh kid at bitkid.com
Thu Oct 27 05:58:31 EDT 2016


Maybe you understood it wrong .. it’s not a http connection. It’s a simple socket connection .. so no handshake no nothing.
Check the example i pasted! I think we are going to use XNIO for that .. not sure if we should reuse the undertow XNIO context or create a new one.

Sascha

> On 27 Oct 2016, at 12:52, Tomaž Cerar <tomaz.cerar at gmail.com> wrote:
> 
> Best to write impl of HttpHandler and register it in the chain.
> This is really simple to do, especially with that simple serving requirements.
> 
> 
> --
> tomaz
> 
> On Wed, Oct 26, 2016 at 11:54 PM, Sascha Sadat-Guscheh <kid at bitkid.com <mailto:kid at bitkid.com>> wrote:
> Hi!
> 
> As part of our current project (which heavily uses undertow as http server) we need to implement a simple flash policy server.
> This server is basically just a simple SocketServer which returns a small XML fragment
> (java example code in the first answer here http://stackoverflow.com/questions/2569863/trouble-creating-a-java-policy-server-for-a-simple-flash-app <http://stackoverflow.com/questions/2569863/trouble-creating-a-java-policy-server-for-a-simple-flash-app>)
> 
> My question is, how can i implement this reusing the undertow infrastructure. Directly access XNIO? What would you suggest?
> 
> Thanks, Sascha
> 
> 
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org <mailto:undertow-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/undertow-dev <https://lists.jboss.org/mailman/listinfo/undertow-dev>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20161027/1e44d6c4/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.jboss.org/pipermail/undertow-dev/attachments/20161027/1e44d6c4/attachment.bin 


More information about the undertow-dev mailing list