Class BasicFullHttpMultiPartRequest

java.lang.Object
io.netty.handler.codec.http.DefaultHttpObject
io.netty.handler.codec.http.DefaultHttpMessage
io.netty.handler.codec.http.DefaultHttpRequest
com.linkedin.alpini.netty4.misc.BasicHttpRequest
com.linkedin.alpini.netty4.misc.BasicFullHttpMultiPartRequest
All Implemented Interfaces:
BasicRequest, FullHttpMultiPartRequest, io.netty.buffer.ByteBufHolder, io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.FullHttpMessage, io.netty.handler.codec.http.FullHttpRequest, io.netty.handler.codec.http.HttpContent, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpObject, io.netty.handler.codec.http.HttpRequest, io.netty.handler.codec.http.LastHttpContent, io.netty.util.AttributeMap, io.netty.util.ReferenceCounted, Cloneable, Iterable<FullHttpMultiPart>

public class BasicFullHttpMultiPartRequest extends BasicHttpRequest implements FullHttpMultiPartRequest
Created by acurtis on 3/27/17.
  • Constructor Details

    • BasicFullHttpMultiPartRequest

      public BasicFullHttpMultiPartRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, long requestTimestamp, long requestNanos)
    • BasicFullHttpMultiPartRequest

      public BasicFullHttpMultiPartRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, Collection<FullHttpMultiPart> content, long requestTimestamp, long requestNanos)
    • BasicFullHttpMultiPartRequest

      public BasicFullHttpMultiPartRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, boolean validateHeaders, long requestTimestamp, long requestNanos)
    • BasicFullHttpMultiPartRequest

      public BasicFullHttpMultiPartRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, Collection<FullHttpMultiPart> content, boolean validateHeaders, long requestTimestamp, long requestNanos)
    • BasicFullHttpMultiPartRequest

      public BasicFullHttpMultiPartRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, Collection<FullHttpMultiPart> content, io.netty.handler.codec.http.HttpHeaders headers, io.netty.handler.codec.http.HttpHeaders trailingHeader, UUID requestId, long requestTimestamp, long requestNanos)
  • Method Details

    • trailingHeaders

      public io.netty.handler.codec.http.HttpHeaders trailingHeaders()
      Specified by:
      trailingHeaders in interface io.netty.handler.codec.http.LastHttpContent
    • content

      public io.netty.buffer.ByteBuf content()
      Specified by:
      content in interface io.netty.buffer.ByteBufHolder
    • copy

      Specified by:
      copy in interface io.netty.buffer.ByteBufHolder
      Specified by:
      copy in interface io.netty.handler.codec.http.FullHttpMessage
      Specified by:
      copy in interface FullHttpMultiPartRequest
      Specified by:
      copy in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      copy in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      copy in interface io.netty.handler.codec.http.LastHttpContent
    • duplicate

      public BasicFullHttpMultiPartRequest duplicate()
      Description copied from class: BasicHttpRequest
      Construct a full copy of the request.
      Specified by:
      duplicate in interface io.netty.buffer.ByteBufHolder
      Specified by:
      duplicate in interface io.netty.handler.codec.http.FullHttpMessage
      Specified by:
      duplicate in interface FullHttpMultiPartRequest
      Specified by:
      duplicate in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      duplicate in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      duplicate in interface io.netty.handler.codec.http.LastHttpContent
      Overrides:
      duplicate in class BasicHttpRequest
      Returns:
      copy of request
    • retainedDuplicate

      public BasicFullHttpMultiPartRequest retainedDuplicate()
      Specified by:
      retainedDuplicate in interface io.netty.buffer.ByteBufHolder
      Specified by:
      retainedDuplicate in interface io.netty.handler.codec.http.FullHttpMessage
      Specified by:
      retainedDuplicate in interface FullHttpMultiPartRequest
      Specified by:
      retainedDuplicate in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      retainedDuplicate in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      retainedDuplicate in interface io.netty.handler.codec.http.LastHttpContent
    • replace

      public BasicFullHttpMultiPartRequest replace(io.netty.buffer.ByteBuf content)
      Specified by:
      replace in interface io.netty.buffer.ByteBufHolder
      Specified by:
      replace in interface io.netty.handler.codec.http.FullHttpMessage
      Specified by:
      replace in interface FullHttpMultiPartRequest
      Specified by:
      replace in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      replace in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      replace in interface io.netty.handler.codec.http.LastHttpContent
    • replace

      Specified by:
      replace in interface FullHttpMultiPartRequest
    • retain

      public BasicFullHttpMultiPartRequest retain(int increment)
      Specified by:
      retain in interface io.netty.buffer.ByteBufHolder
      Specified by:
      retain in interface io.netty.handler.codec.http.FullHttpMessage
      Specified by:
      retain in interface FullHttpMultiPartRequest
      Specified by:
      retain in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      retain in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      retain in interface io.netty.handler.codec.http.LastHttpContent
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
    • refCnt

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

      Specified by:
      retain in interface io.netty.buffer.ByteBufHolder
      Specified by:
      retain in interface io.netty.handler.codec.http.FullHttpMessage
      Specified by:
      retain in interface FullHttpMultiPartRequest
      Specified by:
      retain in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      retain in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      retain in interface io.netty.handler.codec.http.LastHttpContent
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
    • touch

      Specified by:
      touch in interface io.netty.buffer.ByteBufHolder
      Specified by:
      touch in interface io.netty.handler.codec.http.FullHttpMessage
      Specified by:
      touch in interface FullHttpMultiPartRequest
      Specified by:
      touch in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      touch in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      touch in interface io.netty.handler.codec.http.LastHttpContent
      Specified by:
      touch in interface io.netty.util.ReferenceCounted
    • touch

      Specified by:
      touch in interface io.netty.buffer.ByteBufHolder
      Specified by:
      touch in interface io.netty.handler.codec.http.FullHttpMessage
      Specified by:
      touch in interface FullHttpMultiPartRequest
      Specified by:
      touch in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      touch in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      touch in interface io.netty.handler.codec.http.LastHttpContent
      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
    • iterator

      public Iterator<FullHttpMultiPart> iterator()
      Specified by:
      iterator in interface Iterable<FullHttpMultiPart>
    • setMethod

      public BasicFullHttpMultiPartRequest setMethod(io.netty.handler.codec.http.HttpMethod method)
      Specified by:
      setMethod in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      setMethod in interface io.netty.handler.codec.http.HttpRequest
      Overrides:
      setMethod in class io.netty.handler.codec.http.DefaultHttpRequest
    • setUri

      Specified by:
      setUri in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      setUri in interface io.netty.handler.codec.http.HttpRequest
      Overrides:
      setUri in class io.netty.handler.codec.http.DefaultHttpRequest
    • setProtocolVersion

      public BasicFullHttpMultiPartRequest setProtocolVersion(io.netty.handler.codec.http.HttpVersion version)
      Specified by:
      setProtocolVersion in interface io.netty.handler.codec.http.FullHttpRequest
      Specified by:
      setProtocolVersion in interface io.netty.handler.codec.http.HttpMessage
      Specified by:
      setProtocolVersion in interface io.netty.handler.codec.http.HttpRequest
      Overrides:
      setProtocolVersion in class io.netty.handler.codec.http.DefaultHttpRequest
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BasicHttpRequest
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BasicHttpRequest