Package org.apache.http.nio.protocol
Class HttpAsyncService.State
- java.lang.Object
-
- org.apache.http.nio.protocol.HttpAsyncService.State
-
- Enclosing class:
- HttpAsyncService
static class HttpAsyncService.State extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private Cancellable
cancellable
private HttpAsyncService.Incoming
incoming
private HttpAsyncService.Outgoing
outgoing
private java.util.Queue<HttpAsyncService.PipelineEntry>
pipeline
private MessageState
requestState
private MessageState
responseState
private boolean
terminated
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cancellable
getCancellable()
HttpAsyncService.Incoming
getIncoming()
HttpAsyncService.Outgoing
getOutgoing()
java.util.Queue<HttpAsyncService.PipelineEntry>
getPipeline()
MessageState
getRequestState()
MessageState
getResponseState()
boolean
isTerminated()
void
setCancellable(Cancellable cancellable)
void
setIncoming(HttpAsyncService.Incoming incoming)
void
setOutgoing(HttpAsyncService.Outgoing outgoing)
void
setRequestState(MessageState state)
void
setResponseState(MessageState state)
void
setTerminated()
java.lang.String
toString()
-
-
-
Field Detail
-
pipeline
private final java.util.Queue<HttpAsyncService.PipelineEntry> pipeline
-
terminated
private volatile boolean terminated
-
requestState
private volatile MessageState requestState
-
responseState
private volatile MessageState responseState
-
incoming
private volatile HttpAsyncService.Incoming incoming
-
outgoing
private volatile HttpAsyncService.Outgoing outgoing
-
cancellable
private volatile Cancellable cancellable
-
-
Method Detail
-
isTerminated
public boolean isTerminated()
-
setTerminated
public void setTerminated()
-
getRequestState
public MessageState getRequestState()
-
setRequestState
public void setRequestState(MessageState state)
-
getResponseState
public MessageState getResponseState()
-
setResponseState
public void setResponseState(MessageState state)
-
getIncoming
public HttpAsyncService.Incoming getIncoming()
-
setIncoming
public void setIncoming(HttpAsyncService.Incoming incoming)
-
getOutgoing
public HttpAsyncService.Outgoing getOutgoing()
-
setOutgoing
public void setOutgoing(HttpAsyncService.Outgoing outgoing)
-
getCancellable
public Cancellable getCancellable()
-
setCancellable
public void setCancellable(Cancellable cancellable)
-
getPipeline
public java.util.Queue<HttpAsyncService.PipelineEntry> getPipeline()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-