public interface SinkProviderContext
A context for
SinkProviders supplied
at creation time.-
Method Summary
Modifier and TypeMethodDescriptionRunnable to execute to close the response.Obtains access to the connection context.default voidFlush response headers while keeping the stream open.default ServerRequestObtains the server request associated with this context.Obtains the server response associated with this context.
-
Method Details
-
serverResponse
ServerResponse serverResponse()Obtains the server response associated with this context.- Returns:
- the server response
-
serverRequest
Obtains the server request associated with this context.- Returns:
- the server response
-
connectionContext
ConnectionContext connectionContext()Obtains access to the connection context.- Returns:
- the connection context
-
closeRunnable
Runnable closeRunnable()Runnable to execute to close the response.- Returns:
- the close runnable
-
flushHeaders
default void flushHeaders()Flush response headers while keeping the stream open.
-