users@grizzly.java.net
Virtual Hosts in HttpServer
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Alexander Pokahr <
pokahr_at_informatik.uni-hamburg.de
>
Date
: Thu, 27 Mar 2014 17:28:51 +0100
Hi all,
I can see that the Mapper supports virtual hosts:
https://grizzly.java.net/docs/2.3/xref/org/glassfish/grizzly/http/server/util/Mapper.html
But when adding HttpHandlers to an HttpServer through its
ServerConfiguration,
the HttpHandlerChain ignores the host part of the mapping and always
uses "localhost":
https://grizzly.java.net/docs/2.3/xref/org/glassfish/grizzly/http/server/HttpHandlerChain.html#260
I wonder, if it is possible to add handlers in a way that they are
associated
to a virtual host name. Any hints in the right direction would be much
appreciated.
Kind regards and thanks in advance,
Alex
This message
: [
Message body
]
Next message
:
Oleksiy Stashok: "Re: Virtual Hosts in HttpServer"
Previous message
:
Oleksiy Stashok: "Re: Atmosphere behind apache doesn't work."
Next in thread
:
Oleksiy Stashok: "Re: Virtual Hosts in HttpServer"
Reply
:
Oleksiy Stashok: "Re: Virtual Hosts in HttpServer"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]