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()ReturnsURIrepresentation of "Location" header from the response.ReturnsSetCookieheader of the response.Transfer encoding of the response.Methods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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
ReturnsSetCookieheader of the response.- Returns:
- set cookie header
-
location
ReturnsURIrepresentation 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
-