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 Cancellablecancellableprivate HttpAsyncService.Incomingincomingprivate HttpAsyncService.Outgoingoutgoingprivate java.util.Queue<HttpAsyncService.PipelineEntry>pipelineprivate MessageStaterequestStateprivate MessageStateresponseStateprivate booleanterminated
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CancellablegetCancellable()HttpAsyncService.IncominggetIncoming()HttpAsyncService.OutgoinggetOutgoing()java.util.Queue<HttpAsyncService.PipelineEntry>getPipeline()MessageStategetRequestState()MessageStategetResponseState()booleanisTerminated()voidsetCancellable(Cancellable cancellable)voidsetIncoming(HttpAsyncService.Incoming incoming)voidsetOutgoing(HttpAsyncService.Outgoing outgoing)voidsetRequestState(MessageState state)voidsetResponseState(MessageState state)voidsetTerminated()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-