Uses of Interface
io.inverno.mod.http.server.ResponseHeaders
-
Uses of ResponseHeaders in io.inverno.mod.http.server
Methods in io.inverno.mod.http.server that return ResponseHeadersModifier and TypeMethodDescriptionAdds the specified headers.ResponseHeaders.add(CharSequence name, CharSequence value) Adds a header with the specified name and value.ResponseHeaders.contentLength(long length) Sets the response content length.ResponseHeaders.contentType(String contentType) Sets the response content type header field value.Response.headers()Returns the HTTP headers to send in the response.ResponseHeaders.remove(CharSequence... names) Removes the headers with the specified names.Sets the specified headers.ResponseHeaders.set(CharSequence name, CharSequence value) Sets the value of the header with the specified name.ResponseHeaders.status(int status) Sets the response HTTP status codeSets the response HTTP status.Method parameters in io.inverno.mod.http.server with type arguments of type ResponseHeadersModifier and TypeMethodDescriptionResponse.headers(Consumer<ResponseHeaders> headersConfigurer) Configures the HTTP headers to send in the response.