public class HttpTransport extends Transport
Modifier and Type | Field and Description |
---|---|
static String |
HEADER_HOST |
Hashtable<Integer,HttpEndpointListener> |
portListenerMapping |
static String |
SOURCE_HOSTNAME |
static String |
SOURCE_IP |
menuListeners
Constructor and Description |
---|
HttpTransport() |
Modifier and Type | Method and Description |
---|---|
void |
closeAll() |
void |
closePort(int port) |
Enumeration<Integer> |
getAllPorts() |
ExecutorService |
getExecutorService() |
int |
getSocketTimeout() |
boolean |
isAnyThreadListeningAt(int port) |
boolean |
isAutoContinue100Expected() |
boolean |
isTcpNoDelay() |
void |
openPort(int port,
SSLContext sslContext) |
void |
setAutoContinue100Expected(boolean autoContinue100Expected) |
void |
setCoreThreadPoolSize(int corePoolSize) |
void |
setMaxThreadPoolSize(int value) |
void |
setSocketTimeout(int timeout) |
void |
setTcpNoDelay(boolean tcpNoDelay) |
getHttpClientRetries, getInterceptors, getRouter, setHttpClientRetries, setInterceptors, setRouter
public static final String SOURCE_HOSTNAME
public static final String HEADER_HOST
public static final String SOURCE_IP
public Hashtable<Integer,HttpEndpointListener> portListenerMapping
public boolean isAnyThreadListeningAt(int port)
public Enumeration<Integer> getAllPorts()
public void closePort(int port) throws IOException
IOException
public void closeAll() throws IOException
closeAll
in class Transport
IOException
public void openPort(int port, SSLContext sslContext) throws IOException
openPort
in class Transport
port
- IOException
public void setCoreThreadPoolSize(int corePoolSize)
public void setMaxThreadPoolSize(int value)
public ExecutorService getExecutorService()
public int getSocketTimeout()
public void setSocketTimeout(int timeout)
public boolean isTcpNoDelay()
public void setTcpNoDelay(boolean tcpNoDelay)
public boolean isAutoContinue100Expected()
public void setAutoContinue100Expected(boolean autoContinue100Expected)
Copyright © 2012. All Rights Reserved.