Uses of Class
com.soklet.RequestResult
Packages that use RequestResult
-
Uses of RequestResult in com.soklet
Methods in com.soklet that return RequestResultModifier and TypeMethodDescriptionRequestResult.Builder.build()RequestResult.Copier.finish()ServerSentEventRequestResult.HandshakeAccepted.getRequestResult()The initial result of the handshake, as written back to the client (note that the connection remains open).ServerSentEventRequestResult.HandshakeRejected.getRequestResult()The result of the handshake, as written back to the client (the connection is then closed).ServerSentEventRequestResult.RequestFailed.getRequestResult()The result of the handshake, as written back to the client (the connection is then closed).Simulator.performRequest(Request request) Given a request that would normally be handled by your standardServer, process it and return response data (both logicalResponse, if present, and theMarshaledResponsebytes to be sent over the wire) as well as the matching Resource Method, if available.Method parameters in com.soklet with type arguments of type RequestResultModifier and TypeMethodDescriptionvoidServer.RequestHandler.handleRequest(Request request, Consumer<RequestResult> requestResultConsumer) Callback to be invoked by aServerimplementation after it has received an HTTP request but prior to writing an HTTP response.voidServerSentEventServer.RequestHandler.handleRequest(Request request, Consumer<RequestResult> requestResultConsumer) Callback to be invoked by aServerSentEventServerimplementation after it has received a Server-Sent Event Source HTTP request but prior to writing initial data to the HTTP response.