Uses of Class
org.apache.juneau.rest.client.ResponseHeader
Packages that use ResponseHeader
Package
Description
REST Client API
REST Client Assertions
-
Uses of ResponseHeader in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client that return ResponseHeaderModifier and TypeMethodDescriptionRestResponse.getAllHeaders()
Returns all the headers of this message.ResponseContent.getContentEncoding()
Obtains the Content-Encoding header, if known.ResponseContent.getContentType()
Obtains theContent-Type header, if known.RestResponse.getFirstHeader
(String name) Returns the first header with a specified name of this message.Returns the response header with the specified name.RestResponse.getHeaders
(String name) Returns all the headers with a specified name of this message.RestResponse.getLastHeader
(String name) Returns the last header with a specified name of this message.ResponseHeader.parser
(HttpPartParserSession value) Specifies the part parser to use for this header.ResponseHeader.schema
(HttpPartSchema value) Specifies the part schema for this header.Methods in org.apache.juneau.rest.client that return types with arguments of type ResponseHeaderModifier and TypeMethodDescriptionResponseHeader.assertInteger()
Shortcut for callingassertValue().asInteger() .ResponseHeader.assertLong()
Shortcut for callingassertValue().asLong() .ResponseHeader.assertString()
Shortcut for callingassertValue().asString() .ResponseHeader.assertValue()
Provides the ability to perform fluent-style assertions on this response header.ResponseHeader.assertZonedDateTime()
Shortcut for callingassertValue().asZonedDateTime() . -
Uses of ResponseHeader in org.apache.juneau.rest.client.assertion
Constructors in org.apache.juneau.rest.client.assertion with parameters of type ResponseHeaderModifierConstructorDescriptionFluentResponseHeaderAssertion
(Assertion creator, ResponseHeader value, R returns) Chained constructor.FluentResponseHeaderAssertion
(ResponseHeader value, R returns) Constructor.