Uses of Class
cloud.opencode.base.web.http.HttpHeaders
Packages that use HttpHeaders
-
Uses of HttpHeaders in cloud.opencode.base.web.http
Methods in cloud.opencode.base.web.http that return HttpHeadersModifier and TypeMethodDescriptionSets Accept header.Adds a header value.Sets Authorization header with Basic auth.HttpHeaders.bearerAuth(String token) Sets Authorization header with Bearer token.HttpHeaders.clear()Clears all headers.HttpHeaders.contentType(ContentType contentType) Sets Content-Type header.HttpHeaders.contentType(String contentType) Sets Content-Type header.static HttpHeadersHttpHeaders.copyOf(HttpHeaders source) Creates a copy of the headers.static HttpHeadersHttpHeaders.from(HttpHeaders jdkHeaders) Creates headers from JDK HttpHeaders.static HttpHeadersHttpHeaders.of()Creates empty headers.static HttpHeadersCreates headers from a map.Removes a header.Sets a header value (replaces existing).Sets multiple values for a header.Sets User-Agent header.Methods in cloud.opencode.base.web.http with parameters of type HttpHeadersModifier and TypeMethodDescriptionstatic HttpHeadersHttpHeaders.copyOf(HttpHeaders source) Creates a copy of the headers.