Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 9 Port Unification

On 08/12/14 18:09, Christoph Läubrich wrote:
Just wondering: can't you not just open a dedicated port for your "raw-data" channel?If the "raw" application is under your control you can even use http to transfer raw bytes (in fact on the transport there are only raw bytes..). Having a webserver and then try to circumvent it sounds wired, as well as all "bad" request would cause your custom handler be called, also your raw-bytes are not allowed to contain anything that might looks like a web request...

If you still want to implement your aproach I think you can start at http://download.eclipse.org/jetty/stable-9/xref/org/eclipse/jetty/server/AbstractConnector.html and the derived classes.

Thanks for your reply, Christoph,

Even without worrying about port unification, it seems that Jetty is being developed to handle Custom Protocols as discussed in Chapter 33 of the "Definitive Reference" http://www.eclipse.org/jetty/documentation/current/creating-custom-protocol.html

This probably allows Jetty to be used in similar applications to Netty.

I would be interested to know if the custom protocol ability is available in any release or development version at present.

Your link to the AbstractConnector has been very helpful,

Regards

Paul Fraser




Back to the top