Uses of Class
com.soklet.SseHandshakeResult.Accepted.Builder
Packages that use SseHandshakeResult.Accepted.Builder
-
Uses of SseHandshakeResult.Accepted.Builder in com.soklet
Methods in com.soklet that return SseHandshakeResult.Accepted.BuilderModifier and TypeMethodDescriptionSseHandshakeResult.Accepted.builder()Vends a builder for an instance that indicates a successful handshake.SseHandshakeResult.Accepted.Builder.clientContext(@Nullable Object clientContext) Specifies an application-specific custom context to be preserved over the lifetime of the SSE connection.SseHandshakeResult.Accepted.Builder.clientInitializer(@Nullable Consumer<SseUnicaster> clientInitializer) Specifies custom "client initializer" function to run immediately after the handshake succeeds - useful for performing "catch-up" logic if the client had provided aLast-Event-IDrequest header.SseHandshakeResult.Accepted.Builder.cookies(@Nullable Set<@NonNull ResponseCookie> cookies) Specifies custom response cookies to be sent with the handshake.SseHandshakeResult.Accepted.Builder.headers(@Nullable Map<@NonNull String, @NonNull Set<@NonNull String>> headers) Specifies custom response headers to be sent with the handshake.