L.S.,

In the current implementation, camel-jetty already binds to all local interfaces, even if you use localhost in the uri. Are you experiencing any problems with this?

Regards,

Gert

Trevv schreef:
Claus Ibsen-2 wrote:
For wildcard I think about servlets where you could do mapping such as
/mycontent/*
Is this what you mean?

No, that isn't the kind of wildcard I mean.

Some quotes from Sun's javadoc will explain it better than I did...

from Class InetAddress:

The Unspecified Address -- Also called anylocal or wildcard address.  It
must never be assigned to any node.  It indicates the absence of an address.
One example of its use is as the target of bind, which allows a server to
accept a client connection on any interface, in case the server host has
multiple interfaces.

from ServerSocket(int port, int backlog, InetAddress bindAddr):

The bindAddr argument can be used on a multi-homed host for a ServerSocket
that will only accept connect requests to one of its addresses.  If bindAddr
is null, it will default accepting connections on any/all local addresses.

Reply via email to