Class HttpPipelinedRequest

  • All Implemented Interfaces:
    io.netty.util.ReferenceCounted

    public class HttpPipelinedRequest
    extends java.lang.Object
    implements io.netty.util.ReferenceCounted
    Permits 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.HttpPipelinedResponse createHttpResponse​(io.netty.handler.codec.http.FullHttpResponse response, io.netty.channel.ChannelPromise promise)  
      io.netty.handler.codec.http.LastHttpContent last()  
      int refCnt()  
      boolean release()  
      boolean release​(int decrement)  
      io.netty.util.ReferenceCounted retain()  
      io.netty.util.ReferenceCounted retain​(int increment)  
      io.netty.util.ReferenceCounted touch()  
      io.netty.util.ReferenceCounted touch​(java.lang.Object hint)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpPipelinedRequest

        public HttpPipelinedRequest​(io.netty.handler.codec.http.LastHttpContent last,
                                    int sequence)
    • 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:
        refCnt in interface io.netty.util.ReferenceCounted
      • retain

        public io.netty.util.ReferenceCounted retain()
        Specified by:
        retain in interface io.netty.util.ReferenceCounted
      • retain

        public io.netty.util.ReferenceCounted retain​(int increment)
        Specified by:
        retain in interface io.netty.util.ReferenceCounted
      • touch

        public io.netty.util.ReferenceCounted touch()
        Specified by:
        touch in interface io.netty.util.ReferenceCounted
      • touch

        public io.netty.util.ReferenceCounted touch​(java.lang.Object hint)
        Specified by:
        touch in interface io.netty.util.ReferenceCounted
      • release

        public boolean release()
        Specified by:
        release in interface io.netty.util.ReferenceCounted
      • release

        public boolean release​(int decrement)
        Specified by:
        release in interface io.netty.util.ReferenceCounted