Package org.apache.http.nio.protocol
Class AsyncNHttpServiceHandler.ServerConnState
- java.lang.Object
-
- org.apache.http.nio.protocol.AsyncNHttpServiceHandler.ServerConnState
-
- Enclosing class:
- AsyncNHttpServiceHandler
protected static class AsyncNHttpServiceHandler.ServerConnState extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServerConnState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finishInput()
void
finishOutput()
ConsumingNHttpEntity
getConsumingEntity()
org.apache.http.HttpException
getHttpException()
org.apache.http.HttpException
getHttpExepction()
java.io.IOException
getIOException()
java.io.IOException
getIOExepction()
ProducingNHttpEntity
getProducingEntity()
org.apache.http.HttpRequest
getRequest()
NHttpRequestHandler
getRequestHandler()
org.apache.http.HttpResponse
getResponse()
boolean
isHandled()
void
reset()
void
setConsumingEntity(ConsumingNHttpEntity consumingEntity)
void
setHandled(boolean handled)
void
setHttpException(org.apache.http.HttpException ex)
void
setHttpExepction(org.apache.http.HttpException ex)
void
setIOException(java.io.IOException ex)
void
setIOExepction(java.io.IOException ex)
void
setProducingEntity(ProducingNHttpEntity producingEntity)
void
setRequest(org.apache.http.HttpRequest request)
void
setRequestHandler(NHttpRequestHandler requestHandler)
void
setResponse(org.apache.http.HttpResponse response)
-
-
-
Method Detail
-
finishInput
public void finishInput() throws java.io.IOException
- Throws:
java.io.IOException
-
finishOutput
public void finishOutput() throws java.io.IOException
- Throws:
java.io.IOException
-
reset
public void reset() throws java.io.IOException
- Throws:
java.io.IOException
-
getRequestHandler
public NHttpRequestHandler getRequestHandler()
-
setRequestHandler
public void setRequestHandler(NHttpRequestHandler requestHandler)
-
getRequest
public org.apache.http.HttpRequest getRequest()
-
setRequest
public void setRequest(org.apache.http.HttpRequest request)
-
getConsumingEntity
public ConsumingNHttpEntity getConsumingEntity()
-
setConsumingEntity
public void setConsumingEntity(ConsumingNHttpEntity consumingEntity)
-
getResponse
public org.apache.http.HttpResponse getResponse()
-
setResponse
public void setResponse(org.apache.http.HttpResponse response)
-
getProducingEntity
public ProducingNHttpEntity getProducingEntity()
-
setProducingEntity
public void setProducingEntity(ProducingNHttpEntity producingEntity)
-
getIOException
public java.io.IOException getIOException()
-
getIOExepction
public java.io.IOException getIOExepction()
-
setIOException
public void setIOException(java.io.IOException ex)
-
setIOExepction
public void setIOExepction(java.io.IOException ex)
-
getHttpException
public org.apache.http.HttpException getHttpException()
-
getHttpExepction
public org.apache.http.HttpException getHttpExepction()
-
setHttpException
public void setHttpException(org.apache.http.HttpException ex)
-
setHttpExepction
public void setHttpExepction(org.apache.http.HttpException ex)
-
isHandled
public boolean isHandled()
-
setHandled
public void setHandled(boolean handled)
-
-