users@grizzly.java.net

Re: Port Unification in Grizzly HTTP server with custom TCP protocol

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Fri, 06 Jun 2014 21:11:17 -0700

Hey,

I've just added the sample
https://github.com/GrizzlyNIO/grizzly-mirror/blob/2.3.x/samples/portunif/src/main/java/org/glassfish/grizzly/samples/portunif/HttpPUServer.java

hope it will help.

WBR,
Alexey.

On 05.06.14 21:20, LongkerDandy wrote:
> Hi
>
> Is it possible to re-use the same port(80) on both Grizzly HTTP Server
> <https://grizzly.java.net/httpserverframework.html> and a customer TCP
> protocol.
> I've read the offical document about Port Unification
> <https://grizzly.java.net/portunification.html>, but I can't found a
> HTTP Finder implementation.
> Even I write my own HTTP Finder, still I don't know how could this
> work with Grizzly HTTP Server.
>
> Regards
> LongkerDandy