Package com.linkedin.alpini.netty4.misc
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()
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 theAttribute
for the givenAttributeKey
.boolean
equals(java.lang.Object o)
<T> boolean
hasAttr(io.netty.util.AttributeKey<T> key)
Returns true if and only if the givenAttribute
exists in thisAttributeMap
.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 com.linkedin.alpini.netty4.misc.HttpMultiPart
setStatus, status
-
-
-
-
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 classio.netty.handler.codec.http.DefaultHttpMessage
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classio.netty.handler.codec.http.DefaultHttpMessage
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
attr
public <T> io.netty.util.Attribute<T> attr(io.netty.util.AttributeKey<T> key)
Get theAttribute
for the givenAttributeKey
. This method will never return null, but may return anAttribute
which does not have a value set yet.- Specified by:
attr
in interfaceio.netty.util.AttributeMap
- Parameters:
key
-
-
hasAttr
public <T> boolean hasAttr(io.netty.util.AttributeKey<T> key)
Returns true if and only if the givenAttribute
exists in thisAttributeMap
.- Specified by:
hasAttr
in interfaceio.netty.util.AttributeMap
- Parameters:
key
-
-
-