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) |
invokeHandlers
public HttpServerHandler(Socket socket, HttpTransport transport) throws IOException
IOException
public HttpTransport getTransport()
getTransport
in class AbstractHttpHandler
public void shutdownInput() throws IOException
shutdownInput
in class AbstractHttpHandler
IOException
public InetAddress getRemoteAddress() throws IOException
getRemoteAddress
in class AbstractHttpHandler
IOException
public int getLocalPort()
getLocalPort
in class AbstractHttpHandler
public InputStream getSrcIn()
public OutputStream getSrcOut()
Copyright © 2012. All Rights Reserved.