Package org.playframework.netty.http
Class EmptyHttpRequest
- java.lang.Object
-
- org.playframework.netty.http.DelegateHttpMessage
-
- org.playframework.netty.http.DelegateHttpRequest
-
- org.playframework.netty.http.EmptyHttpRequest
-
- All Implemented Interfaces:
io.netty.buffer.ByteBufHolder,io.netty.handler.codec.DecoderResultProvider,io.netty.handler.codec.http.FullHttpMessage,io.netty.handler.codec.http.FullHttpRequest,io.netty.handler.codec.http.HttpContent,io.netty.handler.codec.http.HttpMessage,io.netty.handler.codec.http.HttpObject,io.netty.handler.codec.http.HttpRequest,io.netty.handler.codec.http.LastHttpContent,io.netty.util.ReferenceCounted
class EmptyHttpRequest extends DelegateHttpRequest implements io.netty.handler.codec.http.FullHttpRequest
-
-
Field Summary
-
Fields inherited from class org.playframework.netty.http.DelegateHttpRequest
request
-
Fields inherited from class org.playframework.netty.http.DelegateHttpMessage
message
-
-
Constructor Summary
Constructors Constructor Description EmptyHttpRequest(io.netty.handler.codec.http.HttpRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBufcontent()io.netty.handler.codec.http.FullHttpRequestcopy()io.netty.handler.codec.http.FullHttpRequestduplicate()intrefCnt()booleanrelease()booleanrelease(int decrement)io.netty.handler.codec.http.FullHttpRequestreplace(io.netty.buffer.ByteBuf byteBuf)io.netty.handler.codec.http.FullHttpRequestretain()io.netty.handler.codec.http.FullHttpRequestretain(int increment)io.netty.handler.codec.http.FullHttpRequestretainedDuplicate()io.netty.handler.codec.http.FullHttpRequestsetMethod(io.netty.handler.codec.http.HttpMethod method)io.netty.handler.codec.http.FullHttpRequestsetProtocolVersion(io.netty.handler.codec.http.HttpVersion version)io.netty.handler.codec.http.FullHttpRequestsetUri(java.lang.String uri)io.netty.handler.codec.http.FullHttpRequesttouch()io.netty.handler.codec.http.FullHttpRequesttouch(java.lang.Object o)io.netty.handler.codec.http.HttpHeaderstrailingHeaders()-
Methods inherited from class org.playframework.netty.http.DelegateHttpRequest
getMethod, getUri, method, uri
-
Methods inherited from class org.playframework.netty.http.DelegateHttpMessage
decoderResult, getDecoderResult, getProtocolVersion, headers, protocolVersion, setDecoderResult, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
-
-
-
-
Method Detail
-
setUri
public io.netty.handler.codec.http.FullHttpRequest setUri(java.lang.String uri)
- Specified by:
setUriin interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
setUriin interfaceio.netty.handler.codec.http.HttpRequest- Overrides:
setUriin classDelegateHttpRequest
-
setMethod
public io.netty.handler.codec.http.FullHttpRequest setMethod(io.netty.handler.codec.http.HttpMethod method)
- Specified by:
setMethodin interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
setMethodin interfaceio.netty.handler.codec.http.HttpRequest- Overrides:
setMethodin classDelegateHttpRequest
-
setProtocolVersion
public io.netty.handler.codec.http.FullHttpRequest setProtocolVersion(io.netty.handler.codec.http.HttpVersion version)
- Specified by:
setProtocolVersionin interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
setProtocolVersionin interfaceio.netty.handler.codec.http.HttpMessage- Specified by:
setProtocolVersionin interfaceio.netty.handler.codec.http.HttpRequest- Overrides:
setProtocolVersionin classDelegateHttpRequest
-
copy
public io.netty.handler.codec.http.FullHttpRequest copy()
- Specified by:
copyin interfaceio.netty.buffer.ByteBufHolder- Specified by:
copyin interfaceio.netty.handler.codec.http.FullHttpMessage- Specified by:
copyin interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
copyin interfaceio.netty.handler.codec.http.HttpContent- Specified by:
copyin interfaceio.netty.handler.codec.http.LastHttpContent
-
retain
public io.netty.handler.codec.http.FullHttpRequest retain(int increment)
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.handler.codec.http.FullHttpMessage- Specified by:
retainin interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
retainin interfaceio.netty.handler.codec.http.HttpContent- Specified by:
retainin interfaceio.netty.handler.codec.http.LastHttpContent- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
retain
public io.netty.handler.codec.http.FullHttpRequest retain()
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.handler.codec.http.FullHttpMessage- Specified by:
retainin interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
retainin interfaceio.netty.handler.codec.http.HttpContent- Specified by:
retainin interfaceio.netty.handler.codec.http.LastHttpContent- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
touch
public io.netty.handler.codec.http.FullHttpRequest touch()
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.handler.codec.http.FullHttpMessage- Specified by:
touchin interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
touchin interfaceio.netty.handler.codec.http.HttpContent- Specified by:
touchin interfaceio.netty.handler.codec.http.LastHttpContent- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
touch
public io.netty.handler.codec.http.FullHttpRequest touch(java.lang.Object o)
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.handler.codec.http.FullHttpMessage- Specified by:
touchin interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
touchin interfaceio.netty.handler.codec.http.HttpContent- Specified by:
touchin interfaceio.netty.handler.codec.http.LastHttpContent- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
trailingHeaders
public io.netty.handler.codec.http.HttpHeaders trailingHeaders()
- Specified by:
trailingHeadersin interfaceio.netty.handler.codec.http.LastHttpContent
-
duplicate
public io.netty.handler.codec.http.FullHttpRequest duplicate()
- Specified by:
duplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
duplicatein interfaceio.netty.handler.codec.http.FullHttpMessage- Specified by:
duplicatein interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
duplicatein interfaceio.netty.handler.codec.http.HttpContent- Specified by:
duplicatein interfaceio.netty.handler.codec.http.LastHttpContent
-
retainedDuplicate
public io.netty.handler.codec.http.FullHttpRequest retainedDuplicate()
- Specified by:
retainedDuplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainedDuplicatein interfaceio.netty.handler.codec.http.FullHttpMessage- Specified by:
retainedDuplicatein interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
retainedDuplicatein interfaceio.netty.handler.codec.http.HttpContent- Specified by:
retainedDuplicatein interfaceio.netty.handler.codec.http.LastHttpContent
-
replace
public io.netty.handler.codec.http.FullHttpRequest replace(io.netty.buffer.ByteBuf byteBuf)
- Specified by:
replacein interfaceio.netty.buffer.ByteBufHolder- Specified by:
replacein interfaceio.netty.handler.codec.http.FullHttpMessage- Specified by:
replacein interfaceio.netty.handler.codec.http.FullHttpRequest- Specified by:
replacein interfaceio.netty.handler.codec.http.HttpContent- Specified by:
replacein interfaceio.netty.handler.codec.http.LastHttpContent
-
content
public io.netty.buffer.ByteBuf content()
- Specified by:
contentin interfaceio.netty.buffer.ByteBufHolder
-
refCnt
public int refCnt()
- Specified by:
refCntin interfaceio.netty.util.ReferenceCounted
-
release
public boolean release()
- Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-
release
public boolean release(int decrement)
- Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-
-