public abstract class Endpoint extends Object
NetworkProxy.| Constructor and Description |
|---|
Endpoint() |
| Modifier and Type | Method and Description |
|---|---|
static Endpoint |
createEndpoint(Adapter adapter)
Creates Endpoint based on the passed
Adapter descriptor. |
abstract InetAddress |
getAddress() |
abstract ApplicationContainer |
getContainer()
Return the
ApplicationContainer endpoint belongs to. |
abstract String |
getContextRoot()
Returns the context root for this endpoint
|
abstract org.glassfish.grizzly.http.server.HttpHandler |
getEndpointHandler()
Get the underlying Grizzly
HttpHandler. |
abstract int |
getPort()
Returns the listener port for this endpoint
|
abstract Collection<String> |
getVirtualServers()
Returns the virtual servers supported by this endpoint
|
public static Endpoint createEndpoint(Adapter adapter)
Adapter descriptor.{@link - Adapter}Endpoint, which can be registered on NetworkProxy.public abstract InetAddress getAddress()
InetAddress on which this endpoint is listeningpublic abstract int getPort()
public abstract String getContextRoot()
public abstract org.glassfish.grizzly.http.server.HttpHandler getEndpointHandler()
HttpHandler.HttpHandler.public abstract Collection<String> getVirtualServers()
public abstract ApplicationContainer getContainer()
ApplicationContainer endpoint belongs to.ApplicationContainer endpoint belongs to.Copyright © 2019. All rights reserved.