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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBuf
content()
io.netty.handler.codec.http.HttpContent
copy()
io.netty.handler.codec.DecoderResult
io.netty.handler.codec.http.HttpContent
io.netty.handler.codec.DecoderResult
int
refCnt()
boolean
release()
boolean
release
(int i) io.netty.handler.codec.http.HttpContent
replace
(io.netty.buffer.ByteBuf content) io.netty.handler.codec.http.HttpContent
retain()
io.netty.handler.codec.http.HttpContent
retain
(int increment) io.netty.handler.codec.http.HttpContent
void
setDecoderResult
(io.netty.handler.codec.DecoderResult result) toString()
io.netty.handler.codec.http.HttpContent
touch()
io.netty.handler.codec.http.HttpContent
-
Constructor Details
-
ServerSentEvent
-
-
Method Details
-
toString
-
copy
public io.netty.handler.codec.http.HttpContent copy()- Specified by:
copy
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
copy
in interfaceio.netty.handler.codec.http.HttpContent
-
duplicate
public io.netty.handler.codec.http.HttpContent duplicate()- Specified by:
duplicate
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
duplicate
in interfaceio.netty.handler.codec.http.HttpContent
-
retainedDuplicate
public io.netty.handler.codec.http.HttpContent retainedDuplicate()- Specified by:
retainedDuplicate
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retainedDuplicate
in interfaceio.netty.handler.codec.http.HttpContent
-
replace
public io.netty.handler.codec.http.HttpContent replace(io.netty.buffer.ByteBuf content) - Specified by:
replace
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
replace
in interfaceio.netty.handler.codec.http.HttpContent
-
retain
public io.netty.handler.codec.http.HttpContent retain()- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceio.netty.handler.codec.http.HttpContent
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
retain
public io.netty.handler.codec.http.HttpContent retain(int increment) - Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceio.netty.handler.codec.http.HttpContent
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
touch
public io.netty.handler.codec.http.HttpContent touch()- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceio.netty.handler.codec.http.HttpContent
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
touch
- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceio.netty.handler.codec.http.HttpContent
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
content
public io.netty.buffer.ByteBuf content()- Specified by:
content
in interfaceio.netty.buffer.ByteBufHolder
-
getDecoderResult
public io.netty.handler.codec.DecoderResult getDecoderResult()- Specified by:
getDecoderResult
in interfaceio.netty.handler.codec.http.HttpObject
-
decoderResult
public io.netty.handler.codec.DecoderResult decoderResult()- Specified by:
decoderResult
in interfaceio.netty.handler.codec.DecoderResultProvider
-
setDecoderResult
public void setDecoderResult(io.netty.handler.codec.DecoderResult result) - Specified by:
setDecoderResult
in interfaceio.netty.handler.codec.DecoderResultProvider
-
refCnt
public int refCnt()- Specified by:
refCnt
in interfaceio.netty.util.ReferenceCounted
-
release
public boolean release()- Specified by:
release
in interfaceio.netty.util.ReferenceCounted
-
release
public boolean release(int i) - Specified by:
release
in interfaceio.netty.util.ReferenceCounted
-