Class 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicHttpMultiPart()  
      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

      All Methods Instance Methods Concrete Methods 
      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 equals​(java.lang.Object o)  
      <T> boolean hasAttr​(io.netty.util.AttributeKey<T> key)
      Returns true if and only if the given Attribute exists in this AttributeMap.
      int hashCode()  
      java.lang.String toString()  
      • 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 io.netty.handler.codec.http.HttpObject

        getDecoderResult
    • Constructor Detail

      • 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 Detail

      • hashCode

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.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 -