public class SseRenderer extends AbstractRendererContext
charset
Constructor and Description |
---|
SseRenderer(List<Renderer> renderers,
List<MediaType> produces,
Charset charset,
Map<String,Object> locals) |
Modifier and Type | Method and Description |
---|---|
protected void |
_send(byte[] bytes) |
protected void |
_send(ByteBuffer buffer) |
protected void |
_send(FileChannel file) |
protected void |
_send(InputStream stream) |
byte[] |
format(Sse.Event event) |
accepts, charset, length, locals, render, send, send, send, send, send, send, send, toString, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accepts, type
protected void _send(byte[] bytes) throws Exception
_send
in class AbstractRendererContext
Exception
protected void _send(ByteBuffer buffer) throws Exception
_send
in class AbstractRendererContext
Exception
protected void _send(FileChannel file) throws Exception
_send
in class AbstractRendererContext
Exception
protected void _send(InputStream stream) throws Exception
_send
in class AbstractRendererContext
Exception
Copyright © 2016. All rights reserved.