Interface StreamingResponseHandle
public interface StreamingResponseHandle
Read-only identity and metadata for a streaming HTTP response.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionReturns the moment at which this stream was established.The streaming response.The request associated with the stream.The resource method associated with the stream, if available.The server type that wrote the stream.
-
Method Details
-
getServerType
-
getRequest
-
getResourceMethod
The resource method associated with the stream, if available.- Returns:
- the resource method, or
Optional.empty()if unavailable
-
getMarshaledResponse
The streaming response.- Returns:
- the streaming response
-
getEstablishedAt
Returns the moment at which this stream was established.- Returns:
- the stream establishment moment
-