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
ConstructorsConstructorDescriptionBasicHttpMultiPart(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 theAttributefor the givenAttributeKey.boolean<T> booleanhasAttr(io.netty.util.AttributeKey<T> key) Returns true if and only if the givenAttributeexists in thisAttributeMap.inthashCode()toString()Methods inherited from class io.netty.handler.codec.http.DefaultHttpMessage
getProtocolVersion, headers, protocolVersion, setProtocolVersionMethods inherited from class io.netty.handler.codec.http.DefaultHttpObject
decoderResult, getDecoderResult, setDecoderResultMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResultMethods inherited from interface io.netty.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersion, setProtocolVersionMethods inherited from interface com.linkedin.alpini.netty4.misc.HttpMultiPart
setStatus, statusMethods 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:
hashCodein classio.netty.handler.codec.http.DefaultHttpMessage
-
equals
- Overrides:
equalsin classio.netty.handler.codec.http.DefaultHttpMessage
-
toString
-
attr
public <T> io.netty.util.Attribute<T> attr(io.netty.util.AttributeKey<T> key) Get theAttributefor the givenAttributeKey. This method will never return null, but may return anAttributewhich does not have a value set yet.- Specified by:
attrin interfaceio.netty.util.AttributeMap- Parameters:
key-
-
hasAttr
public <T> boolean hasAttr(io.netty.util.AttributeKey<T> key) Returns true if and only if the givenAttributeexists in thisAttributeMap.- Specified by:
hasAttrin interfaceio.netty.util.AttributeMap- Parameters:
key-
-