Uses of Class
org.glassfish.jersey.server.ChunkedOutput
Package
Description
Support for Server Sent events in Jersey.
Jersey server-side classes.
-
Uses of ChunkedOutput in org.glassfish.jersey.media.sse
-
Uses of ChunkedOutput in org.glassfish.jersey.server
Modifier and TypeMethodDescription<OUT extends ChunkedOutput<T>>
booleanBroadcaster.add
(OUT chunkedOutput) RegisterChunkedOutput
to thisBroadcaster
instance.<OUT extends ChunkedOutput<T>>
booleanBroadcaster.remove
(OUT chunkedOutput) Un-registerChunkedOutput
from thisBroadcaster
instance.Modifier and TypeMethodDescriptionChunkedOutput.Builder.build()
Build the ChunkedOutput based on the given configuration.ChunkedOutput.TypedBuilder.build()
Build the ChunkedOutput based on the given configuration.Modifier and TypeMethodDescriptionlong
ChunkedResponseWriter.getSize
(ChunkedOutput<?> chunkedOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) void
Broadcaster.onClose
(ChunkedOutput<T> chunkedOutput) Called when the chunkedOutput has been closed (either by client closing the connection or by callingclose()
on the server side.void
BroadcasterListener.onClose
(ChunkedOutput<T> chunkedOutput) Called when the chunkedOutput has been closed (either by client closing the connection or by callingclose()
on the server side.void
Broadcaster.onException
(ChunkedOutput<T> chunkedOutput, Exception exception) Called when exception was thrown by a given chunked response when trying to write to it or close it.void
BroadcasterListener.onException
(ChunkedOutput<T> chunkedOutput, Exception exception) Called when exception was thrown by a given chunked response when trying to write to it or close it.void
ChunkedResponseWriter.writeTo
(ChunkedOutput<?> chunkedOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)