Uses of Interface
ratpack.core.http.Response
-
Packages that use Response Package Description ratpack.core.handling The handling of application requests.ratpack.core.http The HTTP protocol.ratpack.core.http.client The HTTP client. -
-
Uses of Response in ratpack.core.handling
Methods in ratpack.core.handling that return Response Modifier and Type Method Description Response
Context. getResponse()
The HTTP response. -
Uses of Response in ratpack.core.http
Fields in ratpack.core.http with type parameters of type Response Modifier and Type Field Description static com.google.common.reflect.TypeToken<Response>
Response. TYPE
A type token for this type.Methods in ratpack.core.http that return Response Modifier and Type Method Description Response
Response. beforeSend(Action<? super Response> responseFinalizer)
Register a callback to execute with the response immediately before sending it to the client.Response
Response. contentType(CharSequence contentType)
Sets the responseContent-Type
header.default Response
Response. contentTypeIfNotSet(CharSequence contentType)
Sets the responseContent-Type
header, if it has not already been set.Response
Response. contentTypeIfNotSet(Supplier<CharSequence> contentType)
default Response
Response. forceCloseConnection()
Forces the closing of the current connection, even if the client requested it to be kept alive.Response
Response. noCompress()
Prevents the response from being compressed.default Response
Response. status(int code)
Sets the status line of the response.Response
Response. status(Status status)
Sets the status line of the response.Method parameters in ratpack.core.http with type arguments of type Response Modifier and Type Method Description Response
Response. beforeSend(Action<? super Response> responseFinalizer)
Register a callback to execute with the response immediately before sending it to the client. -
Uses of Response in ratpack.core.http.client
Methods in ratpack.core.http.client with parameters of type Response Modifier and Type Method Description void
ReceivedResponse. forwardTo(Response response)
void
StreamedResponse. forwardTo(Response response)
Stream this received response out to the given server response.void
StreamedResponse. forwardTo(Response response, Action<? super MutableHeaders> headerMutator)
Stream this received response out to the given server response.
-