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