Uses of Interface
ratpack.core.http.MutableHeaders
-
Packages that use MutableHeaders Package Description ratpack.core.http The HTTP protocol.ratpack.core.http.client The HTTP client. -
-
Uses of MutableHeaders in ratpack.core.http
Methods in ratpack.core.http that return MutableHeaders Modifier and Type Method Description MutableHeadersMutableHeaders. add(CharSequence name, Object value)Adds a new header with the specified name and value.MutableHeadersMutableHeaders. clear()Removes all headers from this message.MutableHeadersMutableHeaders. copy(Headers headers)MutableHeadersResponse. getHeaders()The response headers.MutableHeadersMutableHeaders. remove(CharSequence name)Removes the header with the specified name.MutableHeadersMutableHeaders. set(CharSequence name, Iterable<?> values)Sets a new header with the specified name and values.MutableHeadersMutableHeaders. set(CharSequence name, Object value)Sets the (only) value for the header with the specified name.default MutableHeadersMutableHeaders. setDate(CharSequence name, Instant value)Set a header with the given date as the value.MutableHeadersMutableHeaders. setDate(CharSequence name, Date value)Set a header with the given date as the value. -
Uses of MutableHeaders in ratpack.core.http.client
Methods in ratpack.core.http.client that return MutableHeaders Modifier and Type Method Description MutableHeadersRequestSpec. getHeaders()Method parameters in ratpack.core.http.client with type arguments of type MutableHeaders Modifier and Type Method Description voidStreamedResponse. forwardTo(Response response, Action<? super MutableHeaders> headerMutator)Stream this received response out to the given server response.RequestSpecRequestSpec. headers(Action<? super MutableHeaders> action)This method can be used to buffer changes to the headers.
-