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.ByteBuf
content()
io.netty.handler.codec.http.HttpContent
copy()
io.netty.handler.codec.DecoderResult
decoderResult()
io.netty.handler.codec.http.HttpContent
duplicate()
io.netty.handler.codec.DecoderResult
getDecoderResult()
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
retainedDuplicate()
void
setDecoderResult(io.netty.handler.codec.DecoderResult result)
String
toString()
io.netty.handler.codec.http.HttpContent
touch()
io.netty.handler.codec.http.HttpContent
touch(Object hint)
-
-
-
Method Detail
-
toString
public String toString()
-
copy
public io.netty.handler.codec.http.HttpContent copy()
-
duplicate
public io.netty.handler.codec.http.HttpContent duplicate()
-
retainedDuplicate
public io.netty.handler.codec.http.HttpContent retainedDuplicate()
-
replace
public io.netty.handler.codec.http.HttpContent replace(io.netty.buffer.ByteBuf content)
-
retain
public io.netty.handler.codec.http.HttpContent retain()
-
retain
public io.netty.handler.codec.http.HttpContent retain(int increment)
-
touch
public io.netty.handler.codec.http.HttpContent touch()
-
touch
public io.netty.handler.codec.http.HttpContent touch(Object hint)
-
content
public io.netty.buffer.ByteBuf content()
-
getDecoderResult
public io.netty.handler.codec.DecoderResult getDecoderResult()
-
decoderResult
public io.netty.handler.codec.DecoderResult decoderResult()
-
setDecoderResult
public void setDecoderResult(io.netty.handler.codec.DecoderResult result)
-
refCnt
public int refCnt()
-
release
public boolean release()
-
release
public boolean release(int i)
-
-