|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.coherence.rest.server.AbstractHttpServer
public abstract class AbstractHttpServer
Abstract base class for HttpServer implementations.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_ADDRESSDefault HTTP server address. |
static int |
DEFAULT_PORTDefault HTTP server port. |
protected int |
m_nPortPort number server should listen on. |
protected com.sun.jersey.api.core.ResourceConfig |
m_resourceConfigJersey resource configuration. |
protected java.lang.String |
m_sAddrAddress server should listen on. |
| Constructor Summary | |
|---|---|
AbstractHttpServer() |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalAddress()Return the address the server should listen on. |
int |
getLocalPort()Return the port number the server should listen on. |
com.sun.jersey.api.core.ResourceConfig |
getResourceConfig()Return Jersey ResourceConfig to use. |
void |
setLocalAddress(java.lang.String sAddr)Set address server should listen on. |
void |
setLocalPort(int nPort)Set port number server should listen on. |
void |
setResourceConfig(com.sun.jersey.api.core.ResourceConfig config)Set Jersey ResourceConfig to use. |
| Methods inherited from interface com.tangosol.coherence.rest.server.HttpServer |
|---|
start, stop |
| Field Detail |
|---|
protected java.lang.String m_sAddr
protected int m_nPort
protected com.sun.jersey.api.core.ResourceConfig m_resourceConfig
public static final java.lang.String DEFAULT_ADDRESS
public static final int DEFAULT_PORT
| Constructor Detail |
|---|
public AbstractHttpServer()
| Method Detail |
|---|
public void setLocalAddress(java.lang.String sAddr)
setLocalAddress in interface HttpServersAddr - addresspublic void setLocalPort(int nPort)
setLocalPort in interface HttpServernPort - port numberpublic void setResourceConfig(com.sun.jersey.api.core.ResourceConfig config)
setResourceConfig in interface HttpServerconfig - resource configurationpublic java.lang.String getLocalAddress()
public int getLocalPort()
public com.sun.jersey.api.core.ResourceConfig getResourceConfig()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||