Uses of Class
com.soklet.Response
Packages that use Response
-
Uses of Response in com.soklet
Methods in com.soklet that return ResponseModifier and TypeMethodDescriptionResponse.Builder.build()Response.Copier.finish()Response.fromRedirect(@NonNull RedirectType redirectType, @NonNull String location) Creates a redirectResponsewith no additional customization.Response.fromStatusCode(@NonNull Integer statusCode) Creates aResponsewith the given status code and no additional customization.SseHandshakeResult.Rejected.getResponse()The logical response to send to the client for this handshake rejection.Methods in com.soklet that return types with arguments of type ResponseModifier and TypeMethodDescriptionMcpRequestAdmissionPolicy.checkRequest(@NonNull McpAdmissionContext context) Decides whether an MCP transport request should proceed.HttpRequestResult.getResponse()The logical response, determined by the return value of the Resource Method (if available).ConditionalRequests.responseFor(@NonNull Request request, @Nullable EntityTag entityTag, @Nullable Instant lastModified) Evaluates conditional request headers against the supplied validators.ConditionalRequests.responseFor(@NonNull Request request, @Nullable EntityTag entityTag, @Nullable Instant lastModified, @Nullable Map<@NonNull String, @NonNull Set<@NonNull String>> extraHeaders) Evaluates conditional request headers against the supplied validators.Methods in com.soklet with parameters of type ResponseModifier and TypeMethodDescriptionResponseMarshaler.forResourceMethod(@NonNull Request request, @NonNull Response response, @NonNull ResourceMethod resourceMethod) Prepares a response for a request that was matched to a Resource Method and returned normally (i.e., without throwing an exception).static @NonNull MarshaledResponseMarshaledResponse.fromResponse(@NonNull Response response) Creates aMarshaledResponsefrom a logicalResponsewithout additional customization.ResponseMarshaler.Builder.ResourceMethodHandler.handle(@NonNull Request request, @NonNull Response response, @NonNull ResourceMethod resourceMethod) Prepares a response for the scenario in which the request was matched to a Resource Method and executed non-exceptionally.SseHandshakeResult.rejectWithResponse(@NonNull Response response) Vends an instance that indicates a rejected handshake along with a logical response to send to the client.MarshaledResponse.withResponse(@NonNull Response response) Acquires a builder forMarshaledResponseinstances.