Uses of Class
com.soklet.HandshakeResult.Accepted.Builder
Packages that use HandshakeResult.Accepted.Builder
-
Uses of HandshakeResult.Accepted.Builder in com.soklet
Methods in com.soklet that return HandshakeResult.Accepted.BuilderModifier and TypeMethodDescriptionHandshakeResult.Accepted.builder()Vends a builder for an instance that indicates a successful handshake.HandshakeResult.Accepted.Builder.clientContext(@Nullable Object clientContext) Specifies an application-specific custom context to be preserved over the lifetime of the SSE connection.HandshakeResult.Accepted.Builder.clientInitializer(@Nullable Consumer<ServerSentEventUnicaster> 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.HandshakeResult.Accepted.Builder.cookies(@Nullable Set<@NonNull ResponseCookie> cookies) Specifies custom response cookies to be sent with the handshake.HandshakeResult.Accepted.Builder.headers(@Nullable Map<@NonNull String, @NonNull Set<@NonNull String>> headers) Specifies custom response headers to be sent with the handshake.