Class BasicFullHttpMultiPart

java.lang.Object
io.netty.handler.codec.http.DefaultHttpObject
io.netty.handler.codec.http.DefaultHttpMessage
com.linkedin.alpini.netty4.misc.BasicHttpMultiPart
com.linkedin.alpini.netty4.misc.BasicFullHttpMultiPart
All Implemented Interfaces:
FullHttpMultiPart, HttpMultiPart, MultipartContent, io.netty.buffer.ByteBufHolder, io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.HttpContent, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpObject, io.netty.util.AttributeMap, io.netty.util.ReferenceCounted

public class BasicFullHttpMultiPart extends BasicHttpMultiPart implements FullHttpMultiPart, MultipartContent
Created by acurtis on 3/22/17.
  • Constructor Details

    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart()
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(boolean validateHeaders)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(boolean validateHeaders, boolean singleFieldHeaders)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content, boolean validateHeaders)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content, boolean validateHeaders, boolean singleFieldHeaders)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, boolean validateHeaders)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, boolean validateHeaders, boolean singleFieldHeaders)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content, boolean validateHeaders)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content, boolean validateHeaders, boolean singleFieldHeaders)
    • BasicFullHttpMultiPart

      public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers)
    • BasicFullHttpMultiPart

      protected BasicFullHttpMultiPart(io.netty.util.AttributeMap attributes, io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers)
  • Method Details

    • content

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

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

      public BasicFullHttpMultiPart retain()
      Specified by:
      retain in interface io.netty.buffer.ByteBufHolder
      Specified by:
      retain in interface FullHttpMultiPart
      Specified by:
      retain in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
    • retain

      public BasicFullHttpMultiPart retain(int increment)
      Specified by:
      retain in interface io.netty.buffer.ByteBufHolder
      Specified by:
      retain in interface FullHttpMultiPart
      Specified by:
      retain in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
    • touch

      public BasicFullHttpMultiPart touch()
      Specified by:
      touch in interface io.netty.buffer.ByteBufHolder
      Specified by:
      touch in interface FullHttpMultiPart
      Specified by:
      touch in interface io.netty.handler.codec.http.HttpContent
      Specified by:
      touch in interface io.netty.util.ReferenceCounted
    • touch

      public BasicFullHttpMultiPart touch(Object hint)
      Specified by:
      touch in interface io.netty.buffer.ByteBufHolder
      Specified by:
      touch in interface FullHttpMultiPart
      Specified by:
      touch in interface io.netty.handler.codec.http.HttpContent
      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
    • copy

      public BasicFullHttpMultiPart copy()
      Specified by:
      copy in interface io.netty.buffer.ByteBufHolder
      Specified by:
      copy in interface FullHttpMultiPart
      Specified by:
      copy in interface io.netty.handler.codec.http.HttpContent
    • duplicate

      public BasicFullHttpMultiPart duplicate()
      Specified by:
      duplicate in interface io.netty.buffer.ByteBufHolder
      Specified by:
      duplicate in interface FullHttpMultiPart
      Specified by:
      duplicate in interface io.netty.handler.codec.http.HttpContent
    • retainedDuplicate

      public BasicFullHttpMultiPart retainedDuplicate()
      Specified by:
      retainedDuplicate in interface io.netty.buffer.ByteBufHolder
      Specified by:
      retainedDuplicate in interface FullHttpMultiPart
      Specified by:
      retainedDuplicate in interface io.netty.handler.codec.http.HttpContent
    • replace

      public BasicFullHttpMultiPart replace(io.netty.buffer.ByteBuf content)
      Specified by:
      replace in interface io.netty.buffer.ByteBufHolder
      Specified by:
      replace in interface FullHttpMultiPart
      Specified by:
      replace in interface io.netty.handler.codec.http.HttpContent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BasicHttpMultiPart
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BasicHttpMultiPart