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
ConstructorDescriptionBasicHttpMultiPart
(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 TypeMethodDescription<T> io.netty.util.Attribute<T>
attr
(io.netty.util.AttributeKey<T> key) Get theAttribute
for the givenAttributeKey
.boolean
<T> boolean
hasAttr
(io.netty.util.AttributeKey<T> key) Returns true if and only if the givenAttribute
exists in thisAttributeMap
.int
hashCode()
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
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 classio.netty.handler.codec.http.DefaultHttpMessage
-
equals
- Overrides:
equals
in classio.netty.handler.codec.http.DefaultHttpMessage
-
toString
-
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
-
-