Class EmptyHttpResponse
java.lang.Object
org.playframework.netty.http.DelegateHttpMessage
org.playframework.netty.http.DelegateHttpResponse
org.playframework.netty.http.EmptyHttpResponse
- All Implemented Interfaces:
io.netty.buffer.ByteBufHolder, io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.FullHttpMessage, io.netty.handler.codec.http.FullHttpResponse, io.netty.handler.codec.http.HttpContent, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpObject, io.netty.handler.codec.http.HttpResponse, io.netty.handler.codec.http.LastHttpContent, io.netty.util.ReferenceCounted
class EmptyHttpResponse
extends DelegateHttpResponse
implements io.netty.handler.codec.http.FullHttpResponse
-
Field Summary
Fields inherited from class DelegateHttpResponse
responseFields inherited from class DelegateHttpMessage
messageFields inherited from interface io.netty.handler.codec.http.LastHttpContent
EMPTY_LAST_CONTENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBufcontent()io.netty.handler.codec.http.FullHttpResponsecopy()io.netty.handler.codec.http.FullHttpResponseintrefCnt()booleanrelease()booleanrelease(int decrement) io.netty.handler.codec.http.FullHttpResponsereplace(io.netty.buffer.ByteBuf byteBuf) io.netty.handler.codec.http.FullHttpResponseretain()io.netty.handler.codec.http.FullHttpResponseretain(int increment) io.netty.handler.codec.http.FullHttpResponseio.netty.handler.codec.http.FullHttpResponsesetProtocolVersion(io.netty.handler.codec.http.HttpVersion version) io.netty.handler.codec.http.FullHttpResponsesetStatus(io.netty.handler.codec.http.HttpResponseStatus status) io.netty.handler.codec.http.FullHttpResponsetouch()io.netty.handler.codec.http.FullHttpResponseio.netty.handler.codec.http.HttpHeadersMethods inherited from class DelegateHttpResponse
getStatus, statusMethods inherited from class DelegateHttpMessage
decoderResult, getDecoderResult, getProtocolVersion, headers, protocolVersion, setDecoderResult, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, 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, protocolVersionMethods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResultMethods inherited from interface io.netty.handler.codec.http.HttpResponse
getStatus, status
-
Constructor Details
-
EmptyHttpResponse
public EmptyHttpResponse(io.netty.handler.codec.http.HttpResponse response)
-
-
Method Details
-
setStatus
public io.netty.handler.codec.http.FullHttpResponse setStatus(io.netty.handler.codec.http.HttpResponseStatus status) - Specified by:
setStatusin interfaceio.netty.handler.codec.http.FullHttpResponse- Specified by:
setStatusin interfaceio.netty.handler.codec.http.HttpResponse- Overrides:
setStatusin classDelegateHttpResponse
-
setProtocolVersion
public io.netty.handler.codec.http.FullHttpResponse setProtocolVersion(io.netty.handler.codec.http.HttpVersion version) - Specified by:
setProtocolVersionin interfaceio.netty.handler.codec.http.FullHttpResponse- Specified by:
setProtocolVersionin interfaceio.netty.handler.codec.http.HttpMessage- Specified by:
setProtocolVersionin interfaceio.netty.handler.codec.http.HttpResponse- Overrides:
setProtocolVersionin classDelegateHttpResponse
-
copy
public io.netty.handler.codec.http.FullHttpResponse 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.FullHttpResponse- 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.FullHttpResponse 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.FullHttpResponse- 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.FullHttpResponse 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.FullHttpResponse- 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.FullHttpResponse 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.FullHttpResponse- 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
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.handler.codec.http.FullHttpMessage- Specified by:
touchin interfaceio.netty.handler.codec.http.FullHttpResponse- 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.FullHttpResponse 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.FullHttpResponse- 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.FullHttpResponse 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.FullHttpResponse- 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.FullHttpResponse 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.FullHttpResponse- 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
-