Package org.infinispan.rest
Class ServerSentEvent
- java.lang.Object
-
- org.infinispan.rest.ServerSentEvent
-
- All Implemented Interfaces:
io.netty.buffer.ByteBufHolder,io.netty.handler.codec.DecoderResultProvider,io.netty.handler.codec.http.HttpContent,io.netty.handler.codec.http.HttpObject,io.netty.util.ReferenceCounted
public class ServerSentEvent extends Object implements io.netty.handler.codec.http.HttpContent
-
-
Constructor Summary
Constructors Constructor Description ServerSentEvent(String event, String data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBufcontent()io.netty.handler.codec.http.HttpContentcopy()io.netty.handler.codec.DecoderResultdecoderResult()io.netty.handler.codec.http.HttpContentduplicate()io.netty.handler.codec.DecoderResultgetDecoderResult()intrefCnt()booleanrelease()booleanrelease(int i)io.netty.handler.codec.http.HttpContentreplace(io.netty.buffer.ByteBuf content)io.netty.handler.codec.http.HttpContentretain()io.netty.handler.codec.http.HttpContentretain(int increment)io.netty.handler.codec.http.HttpContentretainedDuplicate()voidsetDecoderResult(io.netty.handler.codec.DecoderResult result)StringtoString()io.netty.handler.codec.http.HttpContenttouch()io.netty.handler.codec.http.HttpContenttouch(Object hint)
-
-
-
Method Detail
-
copy
public io.netty.handler.codec.http.HttpContent copy()
- Specified by:
copyin interfaceio.netty.buffer.ByteBufHolder- Specified by:
copyin interfaceio.netty.handler.codec.http.HttpContent
-
duplicate
public io.netty.handler.codec.http.HttpContent duplicate()
- Specified by:
duplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
duplicatein interfaceio.netty.handler.codec.http.HttpContent
-
retainedDuplicate
public io.netty.handler.codec.http.HttpContent retainedDuplicate()
- Specified by:
retainedDuplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainedDuplicatein interfaceio.netty.handler.codec.http.HttpContent
-
replace
public io.netty.handler.codec.http.HttpContent replace(io.netty.buffer.ByteBuf content)
- Specified by:
replacein interfaceio.netty.buffer.ByteBufHolder- Specified by:
replacein interfaceio.netty.handler.codec.http.HttpContent
-
retain
public io.netty.handler.codec.http.HttpContent retain()
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.handler.codec.http.HttpContent- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
retain
public io.netty.handler.codec.http.HttpContent retain(int increment)
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.handler.codec.http.HttpContent- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
touch
public io.netty.handler.codec.http.HttpContent touch()
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.handler.codec.http.HttpContent- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
touch
public io.netty.handler.codec.http.HttpContent touch(Object hint)
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.handler.codec.http.HttpContent- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
content
public io.netty.buffer.ByteBuf content()
- Specified by:
contentin interfaceio.netty.buffer.ByteBufHolder
-
getDecoderResult
public io.netty.handler.codec.DecoderResult getDecoderResult()
- Specified by:
getDecoderResultin interfaceio.netty.handler.codec.http.HttpObject
-
decoderResult
public io.netty.handler.codec.DecoderResult decoderResult()
- Specified by:
decoderResultin interfaceio.netty.handler.codec.DecoderResultProvider
-
setDecoderResult
public void setDecoderResult(io.netty.handler.codec.DecoderResult result)
- Specified by:
setDecoderResultin interfaceio.netty.handler.codec.DecoderResultProvider
-
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 i)
- Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-
-