Uses of Class
org.apache.juneau.rest.client.ResponseContent
Packages that use ResponseContent
Package
Description
REST Client API
REST Client Assertions
-
Uses of ResponseContent in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client that return ResponseContentModifier and TypeMethodDescriptionResponseContent.cache()
Causes the contents of the response body to be stored so that it can be repeatedly read.RestResponse.getContent()
Returns the body of the response.RestResponse.getEntity()
Obtains the message entity of this response.Specifies the parser to use for this body.ResponseContent.schema
(HttpPartSchema value) Specifies the schema for this body.Methods in org.apache.juneau.rest.client that return types with arguments of type ResponseContentModifier and TypeMethodDescriptionResponseContent.assertBytes()
Shortcut for callingassertValue().asBytes() .ResponseContent.assertObject
(Class<T> type) Shortcut for callingassertValue().as( .type )ResponseContent.assertObject
(Type type, Type... args) Shortcut for callingassertValue().as( .type ,args )ResponseContent.assertString()
Shortcut for callingassertValue().asString() .ResponseContent.assertValue()
Provides the ability to perform fluent-style assertions on this response body. -
Uses of ResponseContent in org.apache.juneau.rest.client.assertion
Constructors in org.apache.juneau.rest.client.assertion with parameters of type ResponseContentModifierConstructorDescriptionFluentResponseBodyAssertion
(Assertion creator, ResponseContent value, R returns) Chained constructor.FluentResponseBodyAssertion
(ResponseContent value, R returns) Constructor.