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 MutableHeaders
MutableHeaders. add(CharSequence name, Object value)
Adds a new header with the specified name and value.MutableHeaders
MutableHeaders. clear()
Removes all headers from this message.MutableHeaders
MutableHeaders. copy(Headers headers)
MutableHeaders
Response. getHeaders()
The response headers.MutableHeaders
MutableHeaders. remove(CharSequence name)
Removes the header with the specified name.MutableHeaders
MutableHeaders. set(CharSequence name, Iterable<?> values)
Sets a new header with the specified name and values.MutableHeaders
MutableHeaders. set(CharSequence name, Object value)
Sets the (only) value for the header with the specified name.default MutableHeaders
MutableHeaders. setDate(CharSequence name, Instant value)
Set a header with the given date as the value.MutableHeaders
MutableHeaders. 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 MutableHeaders
RequestSpec. getHeaders()
Method parameters in ratpack.core.http.client with type arguments of type MutableHeaders Modifier and Type Method Description void
StreamedResponse. forwardTo(Response response, Action<? super MutableHeaders> headerMutator)
Stream this received response out to the given server response.RequestSpec
RequestSpec. headers(Action<? super MutableHeaders> action)
This method can be used to buffer changes to the headers.
-