Uses of Class
org.apache.juneau.rest.client.RestResponse
Packages that use RestResponse
Package
Description
Next-generation REST client — transport-agnostic HTTP client built on Juneau's serialization stack.
Fluent assertion classes for HTTP response validation in the REST client.
-
Uses of RestResponse in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client that return RestResponseModifier and TypeMethodDescriptionRestResponse.assertOk()Asserts that the status code is in the 2xx range.RestResponse.assertStatus(int expected) Asserts that the status code equals the expected value.RestRequest.run()Executes the request and returns the response.Methods in org.apache.juneau.rest.client with parameters of type RestResponseModifier and TypeMethodDescriptionBasicRestClientDebugFormatter.formatBasic(RestRequest req, RestResponse res) RestClientDebugFormatter.formatBasic(RestRequest req, RestResponse res) Renders the basic (INFO-tier) portion of a debug record.BasicRestClientDebugFormatter.formatBody(RestRequest req, RestResponse res) default StringRestClientDebugFormatter.formatBody(RestRequest req, RestResponse res) Renders the body (FINEST-tier) portion of a debug record.BasicRestClientDebugFormatter.formatHeaders(RestRequest req, RestResponse res) default StringRestClientDebugFormatter.formatHeaders(RestRequest req, RestResponse res) Renders the headers (FINE-tier) portion of a debug record.default voidRestCallInterceptor.onClose(RestRequest req, RestResponse res) Called when the request is being closed (in thefinallyblock ofRestRequest.run()).default voidRestCallInterceptor.onConnect(RestRequest req, RestResponse res) Called after a response has been received from the transport. -
Uses of RestResponse in org.apache.juneau.rest.client.assertion
Methods in org.apache.juneau.rest.client.assertion that return RestResponseModifier and TypeMethodDescriptionResponseAssertion.and()Returns the underlying response (for further access after assertions).Constructors in org.apache.juneau.rest.client.assertion with parameters of type RestResponse