Class BasicHttpMultiPart

java.lang.Object
io.netty.handler.codec.http.DefaultHttpObject
io.netty.handler.codec.http.DefaultHttpMessage
com.linkedin.alpini.netty4.misc.BasicHttpMultiPart
All Implemented Interfaces:
HttpMultiPart, io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpObject, io.netty.util.AttributeMap
Direct Known Subclasses:
BasicFullHttpMultiPart

public class BasicHttpMultiPart extends io.netty.handler.codec.http.DefaultHttpMessage implements HttpMultiPart, io.netty.util.AttributeMap
Created by acurtis on 3/22/17.
  • Field Summary

    Fields inherited from interface com.linkedin.alpini.netty4.misc.HttpMultiPart

    MULTIPART_LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    BasicHttpMultiPart(boolean validateHeaders, boolean singleFieldHeaders)
     
    BasicHttpMultiPart(io.netty.handler.codec.http.HttpHeaders headers)
     
    BasicHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage)
     
    BasicHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, boolean validateHeaders, boolean singleFieldHeaders)
     
    BasicHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.handler.codec.http.HttpHeaders headers)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> io.netty.util.Attribute<T>
    attr(io.netty.util.AttributeKey<T> key)
    Get the Attribute for the given AttributeKey.
    boolean
     
    <T> boolean
    hasAttr(io.netty.util.AttributeKey<T> key)
    Returns true if and only if the given Attribute exists in this AttributeMap.
    int
     
     

    Methods inherited from class io.netty.handler.codec.http.DefaultHttpMessage

    getProtocolVersion, headers, protocolVersion, setProtocolVersion

    Methods inherited from class io.netty.handler.codec.http.DefaultHttpObject

    decoderResult, getDecoderResult, setDecoderResult

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.netty.handler.codec.DecoderResultProvider

    decoderResult, setDecoderResult

    Methods inherited from interface io.netty.handler.codec.http.HttpMessage

    getProtocolVersion, headers, protocolVersion, setProtocolVersion

    Methods inherited from interface com.linkedin.alpini.netty4.misc.HttpMultiPart

    setStatus, status

    Methods inherited from interface io.netty.handler.codec.http.HttpObject

    getDecoderResult
  • Constructor Details

    • BasicHttpMultiPart

      public BasicHttpMultiPart()
    • BasicHttpMultiPart

      public BasicHttpMultiPart(boolean validateHeaders, boolean singleFieldHeaders)
    • BasicHttpMultiPart

      public BasicHttpMultiPart(io.netty.handler.codec.http.HttpHeaders headers)
    • BasicHttpMultiPart

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

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

      public BasicHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.handler.codec.http.HttpHeaders headers)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class io.netty.handler.codec.http.DefaultHttpMessage
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class io.netty.handler.codec.http.DefaultHttpMessage
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • attr

      public <T> io.netty.util.Attribute<T> attr(io.netty.util.AttributeKey<T> key)
      Get the Attribute for the given AttributeKey. This method will never return null, but may return an Attribute which does not have a value set yet.
      Specified by:
      attr in interface io.netty.util.AttributeMap
      Parameters:
      key -
    • hasAttr

      public <T> boolean hasAttr(io.netty.util.AttributeKey<T> key)
      Returns true if and only if the given Attribute exists in this AttributeMap.
      Specified by:
      hasAttr in interface io.netty.util.AttributeMap
      Parameters:
      key -