protected static class AsyncNHttpClientHandler.ClientConnState extends Object
Modifier and Type | Field and Description |
---|---|
static int |
EXPECT_CONTINUE |
static int |
READY |
static int |
REQUEST_BODY_DONE |
static int |
REQUEST_BODY_STREAM |
static int |
REQUEST_SENT |
static int |
RESPONSE_BODY_DONE |
static int |
RESPONSE_BODY_STREAM |
static int |
RESPONSE_RECEIVED |
Constructor and Description |
---|
AsyncNHttpClientHandler.ClientConnState() |
Modifier and Type | Method and Description |
---|---|
ConsumingNHttpEntity |
getConsumingEntity() |
int |
getOutputState() |
ProducingNHttpEntity |
getProducingEntity() |
HttpRequest |
getRequest() |
HttpResponse |
getResponse() |
int |
getTimeout() |
void |
invalidate() |
boolean |
isValid() |
void |
reset() |
void |
resetInput() |
void |
resetOutput() |
void |
setConsumingEntity(ConsumingNHttpEntity consumingEntity) |
void |
setOutputState(int outputState) |
void |
setProducingEntity(ProducingNHttpEntity producingEntity) |
void |
setRequest(HttpRequest request) |
void |
setResponse(HttpResponse response) |
void |
setTimeout(int timeout) |
public static final int READY
public static final int REQUEST_SENT
public static final int EXPECT_CONTINUE
public static final int REQUEST_BODY_STREAM
public static final int REQUEST_BODY_DONE
public static final int RESPONSE_RECEIVED
public static final int RESPONSE_BODY_STREAM
public static final int RESPONSE_BODY_DONE
public AsyncNHttpClientHandler.ClientConnState()
public void setConsumingEntity(ConsumingNHttpEntity consumingEntity)
public void setProducingEntity(ProducingNHttpEntity producingEntity)
public ProducingNHttpEntity getProducingEntity()
public ConsumingNHttpEntity getConsumingEntity()
public int getOutputState()
public void setOutputState(int outputState)
public HttpRequest getRequest()
public void setRequest(HttpRequest request)
public HttpResponse getResponse()
public void setResponse(HttpResponse response)
public int getTimeout()
public void setTimeout(int timeout)
public void resetInput() throws IOException
IOException
public void resetOutput() throws IOException
IOException
public void reset() throws IOException
IOException
public boolean isValid()
public void invalidate()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.