public abstract class HTTPTransportHandler extends Object implements TransportHandler
| Modifier and Type | Field and Description |
|---|---|
protected int |
port |
protected org.eclipse.jetty.server.Server |
server |
protected int |
timeoutInterval |
DEFAULT_TIMEOUT_INTERVAL| Modifier | Constructor and Description |
|---|---|
protected |
HTTPTransportHandler() |
protected |
HTTPTransportHandler(int port) |
protected |
HTTPTransportHandler(int port,
int timeoutInterval) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection()
Shuts-down the HTTP Server.
|
protected void |
incrementPort() |
boolean |
isConnected()
Checks whether the HTTP server is up and listening for incoming requests.
|
void |
setTimeoutInterval(int timeoutInterval) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, disconnect, processIncomingMessage, processIncomingMessage, publishDeviceData, publishDeviceDataprotected org.eclipse.jetty.server.Server server
protected int port
protected int timeoutInterval
protected HTTPTransportHandler()
protected HTTPTransportHandler(int port)
protected HTTPTransportHandler(int port,
int timeoutInterval)
public void setTimeoutInterval(int timeoutInterval)
public boolean isConnected()
isConnected in interface TransportHandlerprotected void incrementPort()
Copyright © 2017 WSO2. All rights reserved.