Headers that may be available on response from server.
-
Method Summary
Modifier and TypeMethodDescriptionContent length of the response payload.Returns content type of the response.date()
Returns value of header "Date" of the response.etag()
Returns value of header "ETag" of the response.expires()
Returns value of header "Expires" of the response.Returns value of header "Last-Modified" of the response.location()
ReturnsURI
representation of "Location" header from the response.ReturnsSetCookie
header of the response.Transfer encoding of the response.Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface io.helidon.common.http.Parameters
add, add, addAll, computeIfAbsent, computeSingleIfAbsent, first, iterator, put, put, putAll, putIfAbsent, putIfAbsent, remove, toMap
-
Method Details
-
setCookies
ReturnsSetCookie
header of the response.- Returns:
- set cookie header
-
location
ReturnsURI
representation of "Location" header from the response.- Returns:
- location header uri
-
lastModified
Optional<ZonedDateTime> lastModified()Returns value of header "Last-Modified" of the response.- Returns:
- LAST_MODIFIED header value.
-
expires
Optional<ZonedDateTime> expires()Returns value of header "Expires" of the response.- Returns:
- EXPIRES header value.
-
date
Optional<ZonedDateTime> date()Returns value of header "Date" of the response.- Returns:
- DATE header value.
-
contentType
Returns content type of the response.- Returns:
- content type of the response
-
etag
Returns value of header "ETag" of the response.- Returns:
- ETAG header value.
-
contentLength
Content length of the response payload.- Returns:
- content length
-
transferEncoding
Transfer encoding of the response.- Returns:
- transfer encoding
-