Package com.linkedin.alpini.netty4.misc
Class BasicFullHttpMultiPart
- java.lang.Object
-
- io.netty.handler.codec.http.DefaultHttpObject
-
- io.netty.handler.codec.http.DefaultHttpMessage
-
- com.linkedin.alpini.netty4.misc.BasicHttpMultiPart
-
- com.linkedin.alpini.netty4.misc.BasicFullHttpMultiPart
-
- All Implemented Interfaces:
FullHttpMultiPart
,HttpMultiPart
,MultipartContent
,io.netty.buffer.ByteBufHolder
,io.netty.handler.codec.DecoderResultProvider
,io.netty.handler.codec.http.HttpContent
,io.netty.handler.codec.http.HttpMessage
,io.netty.handler.codec.http.HttpObject
,io.netty.util.AttributeMap
,io.netty.util.ReferenceCounted
public class BasicFullHttpMultiPart extends BasicHttpMultiPart implements FullHttpMultiPart, MultipartContent
Created by acurtis on 3/22/17.
-
-
Field Summary
-
Fields inherited from interface com.linkedin.alpini.netty4.misc.HttpMultiPart
MULTIPART_LOG
-
-
Constructor Summary
Constructors Modifier Constructor Description BasicFullHttpMultiPart()
BasicFullHttpMultiPart(boolean validateHeaders)
BasicFullHttpMultiPart(boolean validateHeaders, boolean singleFieldHeaders)
BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content)
BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content, boolean validateHeaders)
BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content, boolean validateHeaders, boolean singleFieldHeaders)
BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers)
BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage)
BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, boolean validateHeaders)
BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, boolean validateHeaders, boolean singleFieldHeaders)
BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content)
BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content, boolean validateHeaders)
BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content, boolean validateHeaders, boolean singleFieldHeaders)
BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers)
protected
BasicFullHttpMultiPart(io.netty.util.AttributeMap attributes, io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBuf
content()
BasicFullHttpMultiPart
copy()
BasicFullHttpMultiPart
duplicate()
boolean
equals(java.lang.Object o)
int
hashCode()
int
refCnt()
boolean
release()
boolean
release(int decrement)
BasicFullHttpMultiPart
replace(io.netty.buffer.ByteBuf content)
BasicFullHttpMultiPart
retain()
BasicFullHttpMultiPart
retain(int increment)
BasicFullHttpMultiPart
retainedDuplicate()
BasicFullHttpMultiPart
touch()
BasicFullHttpMultiPart
touch(java.lang.Object hint)
-
Methods inherited from class com.linkedin.alpini.netty4.misc.BasicHttpMultiPart
attr, hasAttr, 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 com.linkedin.alpini.netty4.misc.MultipartContent
headers
-
-
-
-
Constructor Detail
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart()
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(boolean validateHeaders)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(boolean validateHeaders, boolean singleFieldHeaders)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content, boolean validateHeaders)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content, boolean validateHeaders, boolean singleFieldHeaders)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, boolean validateHeaders)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, boolean validateHeaders, boolean singleFieldHeaders)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content, boolean validateHeaders)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content, boolean validateHeaders, boolean singleFieldHeaders)
-
BasicFullHttpMultiPart
public BasicFullHttpMultiPart(io.netty.handler.codec.http.HttpMessage httpMessage, io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers)
-
BasicFullHttpMultiPart
protected BasicFullHttpMultiPart(io.netty.util.AttributeMap attributes, io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers)
-
-
Method Detail
-
content
public io.netty.buffer.ByteBuf content()
- Specified by:
content
in interfaceio.netty.buffer.ByteBufHolder
-
refCnt
public int refCnt()
- Specified by:
refCnt
in interfaceio.netty.util.ReferenceCounted
-
retain
public BasicFullHttpMultiPart retain()
- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceFullHttpMultiPart
- Specified by:
retain
in interfaceio.netty.handler.codec.http.HttpContent
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
retain
public BasicFullHttpMultiPart retain(int increment)
- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceFullHttpMultiPart
- Specified by:
retain
in interfaceio.netty.handler.codec.http.HttpContent
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
touch
public BasicFullHttpMultiPart touch()
- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceFullHttpMultiPart
- Specified by:
touch
in interfaceio.netty.handler.codec.http.HttpContent
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
touch
public BasicFullHttpMultiPart touch(java.lang.Object hint)
- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceFullHttpMultiPart
- Specified by:
touch
in interfaceio.netty.handler.codec.http.HttpContent
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
release
public boolean release()
- Specified by:
release
in interfaceio.netty.util.ReferenceCounted
-
release
public boolean release(int decrement)
- Specified by:
release
in interfaceio.netty.util.ReferenceCounted
-
copy
public BasicFullHttpMultiPart copy()
- Specified by:
copy
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
copy
in interfaceFullHttpMultiPart
- Specified by:
copy
in interfaceio.netty.handler.codec.http.HttpContent
-
duplicate
public BasicFullHttpMultiPart duplicate()
- Specified by:
duplicate
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
duplicate
in interfaceFullHttpMultiPart
- Specified by:
duplicate
in interfaceio.netty.handler.codec.http.HttpContent
-
retainedDuplicate
public BasicFullHttpMultiPart retainedDuplicate()
- Specified by:
retainedDuplicate
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retainedDuplicate
in interfaceFullHttpMultiPart
- Specified by:
retainedDuplicate
in interfaceio.netty.handler.codec.http.HttpContent
-
replace
public BasicFullHttpMultiPart replace(io.netty.buffer.ByteBuf content)
- Specified by:
replace
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
replace
in interfaceFullHttpMultiPart
- Specified by:
replace
in interfaceio.netty.handler.codec.http.HttpContent
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBasicHttpMultiPart
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classBasicHttpMultiPart
-
-