Uses of Interface
com.soklet.ServerSentEventRequestResult
Packages that use ServerSentEventRequestResult
-
Uses of ServerSentEventRequestResult in com.soklet
Classes in com.soklet that implement ServerSentEventRequestResultModifier and TypeClassDescriptionstatic final classRepresents the result of an SSE accepted handshake (connection stays open) when simulated bySimulator.performServerSentEventRequest(Request).static final classRepresents the result of an SSE rejected handshake (explicit rejection; connection closed) when simulated bySimulator.performServerSentEventRequest(Request).static final classRepresents the result of an SSE request failure (implicit rejection, e.g. an exception occurred; connection closed) when simulated bySimulator.performServerSentEventRequest(Request).Methods in com.soklet that return ServerSentEventRequestResultModifier and TypeMethodDescriptionSimulator.performServerSentEventRequest(Request request) Given a request that would normally be handled by yourServerSentEventServer(that is, for a Resource Method decorated with theServerSentEventSourceannotation), process it and return response data (ServerSentEventRequestResult.HandshakeAccepted,ServerSentEventRequestResult.HandshakeRejected, orServerSentEventRequestResult.RequestFailed);