public class HttpServerHandler extends AbstractHttpHandler implements Runnable
exchange, srcReq| Constructor and Description |
|---|
HttpServerHandler(Socket socket,
HttpTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLocalPort() |
InetAddress |
getRemoteAddress() |
InputStream |
getSrcIn() |
OutputStream |
getSrcOut() |
HttpTransport |
getTransport() |
void |
run() |
void |
shutdownInput() |
protected void |
writeResponse(Response res) |
invokeHandlerspublic HttpServerHandler(Socket socket, HttpTransport transport) throws IOException
IOExceptionpublic HttpTransport getTransport()
getTransport in class AbstractHttpHandlerpublic void shutdownInput()
throws IOException
shutdownInput in class AbstractHttpHandlerIOExceptionpublic InetAddress getRemoteAddress() throws IOException
getRemoteAddress in class AbstractHttpHandlerIOExceptionpublic int getLocalPort()
getLocalPort in class AbstractHttpHandlerpublic InputStream getSrcIn()
public OutputStream getSrcOut()
Copyright © 2012. All Rights Reserved.