public class HttpServerHandler extends AbstractHttpHandler implements Runnable
exchange, srcReq| Constructor and Description |
|---|
HttpServerHandler(Socket socket,
HttpEndpointListener endpointListener) |
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getLocalAddress() |
int |
getLocalPort() |
String |
getRemoteAddress() |
Socket |
getSourceSocket() |
InputStream |
getSrcIn() |
OutputStream |
getSrcOut() |
HttpTransport |
getTransport() |
void |
run() |
void |
shutdownInput()
Only use for HTTP/1.0 requests.
|
protected void |
writeResponse(Response res) |
getContextPath, invokeHandlers, isMatchLocalPortpublic HttpServerHandler(Socket socket, HttpEndpointListener endpointListener) throws IOException
IOExceptionpublic HttpTransport getTransport()
getTransport in class AbstractHttpHandlerpublic void shutdownInput()
throws IOException
AbstractHttpHandlerHttpClient)shutdownInput in class AbstractHttpHandlerIOExceptionpublic InetAddress getLocalAddress()
getLocalAddress in class AbstractHttpHandlerpublic int getLocalPort()
getLocalPort in class AbstractHttpHandlerpublic Socket getSourceSocket()
public InputStream getSrcIn()
getSrcIn in class AbstractHttpHandlerpublic OutputStream getSrcOut()
getSrcOut in class AbstractHttpHandlerpublic String getRemoteAddress()
getRemoteAddress in class AbstractHttpHandlerCopyright © 2019. All Rights Reserved.