Class HttpPipelinedRequest
- java.lang.Object
-
- org.elasticsearch.http.netty4.pipelining.HttpPipelinedRequest
-
- All Implemented Interfaces:
io.netty.util.ReferenceCounted
public class HttpPipelinedRequest extends java.lang.Object implements io.netty.util.ReferenceCountedPermits downstream channel events to be ordered and signalled as to whether more are to come for a given sequence.
-
-
Constructor Summary
Constructors Constructor Description HttpPipelinedRequest(io.netty.handler.codec.http.LastHttpContent last, int sequence)
-
Method Summary
Modifier and Type Method Description org.elasticsearch.http.netty4.pipelining.HttpPipelinedResponsecreateHttpResponse(io.netty.handler.codec.http.FullHttpResponse response, io.netty.channel.ChannelPromise promise)io.netty.handler.codec.http.LastHttpContentlast()intrefCnt()booleanrelease()booleanrelease(int decrement)io.netty.util.ReferenceCountedretain()io.netty.util.ReferenceCountedretain(int increment)io.netty.util.ReferenceCountedtouch()io.netty.util.ReferenceCountedtouch(java.lang.Object hint)
-
-
-
Method Detail
-
last
public io.netty.handler.codec.http.LastHttpContent last()
-
createHttpResponse
public org.elasticsearch.http.netty4.pipelining.HttpPipelinedResponse createHttpResponse(io.netty.handler.codec.http.FullHttpResponse response, io.netty.channel.ChannelPromise promise)
-
refCnt
public int refCnt()
- Specified by:
refCntin interfaceio.netty.util.ReferenceCounted
-
retain
public io.netty.util.ReferenceCounted retain()
- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
retain
public io.netty.util.ReferenceCounted retain(int increment)
- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
touch
public io.netty.util.ReferenceCounted touch()
- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
touch
public io.netty.util.ReferenceCounted touch(java.lang.Object hint)
- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
release
public boolean release()
- Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-
release
public boolean release(int decrement)
- Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-
-