public abstract class AbstractProxyRestAdapter extends Object implements Adapter
| Constructor and Description |
|---|
AbstractProxyRestAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Config |
getConfig() |
abstract String |
getContextRoot()
Context root this adapter is responsible for handling.
|
org.glassfish.grizzly.http.server.HttpHandler |
getHttpService()
Get the underlying Grizzly
HttpHandler. |
InetAddress |
getListenAddress() |
int |
getListenPort()
Returns the listener port for this adapter
|
protected abstract String |
getName() |
protected abstract org.glassfish.hk2.api.ServiceLocator |
getServices() |
List<String> |
getVirtualServers()
Returns the virtual servers supported by this adapter
|
boolean |
isRegistered()
Checks whether this adapter has been registered as a network endpoint.
|
void |
setRegistered(boolean registered)
Marks this adapter as having been registered or unregistered as a
network endpoint
|
protected abstract org.glassfish.hk2.api.ServiceLocator getServices()
protected abstract Config getConfig()
protected abstract String getName()
public org.glassfish.grizzly.http.server.HttpHandler getHttpService()
AdapterHttpHandler.getHttpService in interface AdapterHttpHandler.public abstract String getContextRoot()
getContextRoot in interface Adapterpublic int getListenPort()
AdaptergetListenPort in interface Adapterpublic InetAddress getListenAddress()
getListenAddress in interface AdapterInetAddress on which this adapter is listeningpublic List<String> getVirtualServers()
AdaptergetVirtualServers in interface Adapterpublic boolean isRegistered()
AdapterisRegistered in interface Adapterpublic void setRegistered(boolean registered)
AdaptersetRegistered in interface AdapterCopyright © 2017. All rights reserved.