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 ResponseContext. 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. TYPEA type token for this type.Methods in ratpack.core.http that return Response Modifier and Type Method Description ResponseResponse. beforeSend(Action<? super Response> responseFinalizer)Register a callback to execute with the response immediately before sending it to the client.ResponseResponse. contentType(CharSequence contentType)Sets the responseContent-Typeheader.default ResponseResponse. contentTypeIfNotSet(CharSequence contentType)Sets the responseContent-Typeheader, if it has not already been set.ResponseResponse. contentTypeIfNotSet(Supplier<CharSequence> contentType)default ResponseResponse. forceCloseConnection()Forces the closing of the current connection, even if the client requested it to be kept alive.ResponseResponse. noCompress()Prevents the response from being compressed.default ResponseResponse. status(int code)Sets the status line of the response.ResponseResponse. 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 ResponseResponse. 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 voidReceivedResponse. forwardTo(Response response)voidStreamedResponse. forwardTo(Response response)Stream this received response out to the given server response.voidStreamedResponse. forwardTo(Response response, Action<? super MutableHeaders> headerMutator)Stream this received response out to the given server response.
-