A B C D E F G H I J K L M N O P Q R S T U V W X

A

ACCEPT_ENC_HDR - Static variable in class com.jayway.restassured.internal.http.ContentEncoding
 
addCookie(Cookie) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a detailed cookie
addCookie(String, Object, Object...) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a cookie to be sent with the request.
addCookie(String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a cookie without value to be sent with the request.
addCookies(Map<String, ?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add cookies to be sent with the request as Map e.g:
addCookies(Cookies) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify multiple detailed cookies that'll be sent with the request.
addFilter(Filter) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a filter that will be used in the request.
addFilters(List<Filter>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add filters that will be used in the request.
addFormParam(String, Collection<?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of #addFormParameter(String, java.util.Collection.
addFormParam(String, Object...) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of RequestSpecBuilder.addFormParameter(String, Object...).
addFormParameter(String, Object...) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a form parameter to be sent with the request.
addFormParameter(String, Collection<?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a form parameter to be sent with the request.
addFormParameters(Map<String, ?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add query parameters to be sent with the request as a Map.
addFormParams(Map<String, ?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of RequestSpecBuilder.addFormParameters(Map).
addHeader(String, String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a header to be sent with the request e.g:
addHeader(Header) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
addHeader(String, String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
addHeaders(Map<String, String>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add headers to be sent with the request as Map.
addMultiPart(File) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a file to upload to the server using multi-part form data uploading.
addMultiPart(String, File) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a file to upload to the server using multi-part form data uploading with a specific control name.
addMultiPart(String, File, String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a file to upload to the server using multi-part form data uploading with a specific control name and content-type.
addMultiPart(String, String, byte[]) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a byte-array to upload to the server using multi-part form data.
addMultiPart(String, String, byte[], String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a byte-array to upload to the server using multi-part form data.
addMultiPart(String, String, InputStream) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify an inputstream to upload to the server using multi-part form data.
addMultiPart(String, String, InputStream, String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify an inputstream to upload to the server using multi-part form data.
addMultiPart(String, String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a string to send to the server using multi-part form data.
addMultiPart(String, String, String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a string to send to the server using multi-part form data with a specific mime-type.
addParam(String, Object...) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of RequestSpecBuilder.addParameter(String, Object...).
addParam(String, Collection<?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of #addParameter(String, java.util.Collection.
addParameter(String, Object...) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a parameter to be sent with the request.
addParameter(String, Collection<?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a multi-value parameter to be sent with the request.
addParameters(Map<String, ?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add parameters to be sent with the request as Map.
addParams(Map<String, ?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of RequestSpecBuilder.addParameters(Map).
addParams(Map<String, ?>) - Method in class com.jayway.restassured.config.HttpClientConfig
Add the given parameters to an already configured number of parameters.
addPathParam(String, Object) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of RequestSpecBuilder.addPathParameter(String, Object).
addPathParameter(String, Object) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a path parameter.
addPathParameters(String, Object, Object...) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify multiple path parameter name-value pairs.
addPathParameters(Map<String, ?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify multiple path parameter name-value pairs.
addPathParams(String, Object, Object...) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of RequestSpecBuilder.addPathParameters(String, Object, Object...).
addPathParams(Map<String, ?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of RequestSpecBuilder.addPathParameters(java.util.Map).
addQueryParam(String, Collection<?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of RequestSpecBuilder.addQueryParameter(String, java.util.Collection).
addQueryParam(String, Object...) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of RequestSpecBuilder.addQueryParameter(String, Object...).
addQueryParam(NameValuePair) - Method in class com.jayway.restassured.internal.http.URIBuilder
 
addQueryParam(String, Object) - Method in class com.jayway.restassured.internal.http.URIBuilder
This will append a query parameter to the existing query string.
addQueryParameter(String, Object...) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a query parameter to be sent with the request.
addQueryParameter(String, Collection<?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add a query parameter to be sent with the request.
addQueryParameters(Map<String, ?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Add query parameters to be sent with the request as a Map.
addQueryParams(Map<String, ?>) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly shorter version of RequestSpecBuilder.addQueryParameters(Map).
addQueryParams(List<NameValuePair>) - Method in class com.jayway.restassured.internal.http.URIBuilder
 
addQueryParams(Map<?, ?>) - Method in class com.jayway.restassured.internal.http.URIBuilder
Add these parameters to the URIBuilder's existing query string.
addRequestSpecification(RequestSpecification) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Merge this builder with settings from another specification.
addResponseSpecification(ResponseSpecification) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Merge this builder with settings from another specification.
all(boolean) - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
all() - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
all() - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
all(boolean) - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
all() - Method in interface com.jayway.restassured.specification.LogSpecification
Logs everything in the specification, including e.g.
all(boolean) - Method in interface com.jayway.restassured.specification.LogSpecification
Logs everything in the specification, including e.g.
allowCircular(boolean) - Method in class com.jayway.restassured.internal.RedirectSpecificationImpl
 
allowCircular(boolean) - Method in interface com.jayway.restassured.specification.RedirectSpecification
Defines whether circular redirects are allowed.
allowCircularRedirects(boolean) - Method in class com.jayway.restassured.config.RedirectConfig
Configure if REST Assured should allow circular redirects
allowsCircularRedirects() - Method in class com.jayway.restassured.config.RedirectConfig
 
and() - Method in class com.jayway.restassured.config.DecoderConfig
Syntactic sugar.
and() - Method in class com.jayway.restassured.config.EncoderConfig
Syntactic sugar.
and() - Method in class com.jayway.restassured.config.HttpClientConfig
 
and() - Method in class com.jayway.restassured.config.LogConfig
Syntactic sugar.
and() - Method in class com.jayway.restassured.config.RedirectConfig
The same RedirectConfig instance.
and() - Method in class com.jayway.restassured.config.RestAssuredConfig
Syntactic sugar.
and() - Method in class com.jayway.restassured.config.SessionConfig
Syntactic sugar.
and() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
and() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
and() - Method in interface com.jayway.restassured.specification.RequestSpecification
Syntactic sugar, e.g.
and() - Method in interface com.jayway.restassured.specification.ResponseSpecification
Syntactic sugar, e.g.
andReturn() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
andReturn() - Method in interface com.jayway.restassured.response.Response
Syntactic sugar, simply returns the same response instance.
apply(HTTPBuilder, int) - Method in interface com.jayway.restassured.internal.KeystoreSpec
Apply the settings
apply(HTTPBuilder, int) - Method in class com.jayway.restassured.internal.KeystoreSpecImpl
 
apply(HTTPBuilder, int) - Method in class com.jayway.restassured.internal.NoKeystoreSpecImpl
 
applyEncoderConfig(HTTPBuilder, EncoderConfig) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
applyHttpClientConfig(HttpClientConfig) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
applyRedirectConfig(RedirectConfig) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
applyRestAssuredConfig(HTTPBuilder) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
applySessionConfig(SessionConfig) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
arg(Object) - Static method in class com.jayway.restassured.specification.Argument
 
Argument - Class in com.jayway.restassured.specification
An argument that can be used to build up a body path expression.
Argument(Object) - Constructor for class com.jayway.restassured.specification.Argument
The argument, can be null.
as(Class<T>) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
as(Class<T>, ObjectMapper) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
as(Class<T>) - Method in interface com.jayway.restassured.response.ResponseBody
Get the body and map it to a Java object.
as(Class<T>, ObjectMapper) - Method in interface com.jayway.restassured.response.ResponseBody
Get the body and map it to a Java object using a specific object mapper.
asByteArray() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
asByteArray() - Method in interface com.jayway.restassured.response.ResponseBody
Get the body as a byte array.
asInputStream() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
asInputStream() - Method in interface com.jayway.restassured.response.ResponseBody
Get the body as an input stream.
assembleBodyContent(Object) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
Assertion - Interface in com.jayway.restassured.assertion
 
AssertionSupport - Class in com.jayway.restassured.assertion
 
AssertionSupport() - Constructor for class com.jayway.restassured.assertion.AssertionSupport
 
AssertParameter - Class in com.jayway.restassured.assertion
 
AssertParameter() - Constructor for class com.jayway.restassured.assertion.AssertParameter
 
asString() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
asString() - Method in interface com.jayway.restassured.response.ResponseBody
Get the body as a string.
asType(Class<?>) - Method in class com.jayway.restassured.internal.http.URIBuilder
Implementation of Groovy's as operator, to allow type conversion.
attributeGetter() - Static method in class com.jayway.restassured.assertion.AssertionSupport
 
attributes() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
attributes() - Method in interface com.jayway.restassured.path.xml.element.Node
The node attributes, may be empty.
auth - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
auth() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
auth() - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly short version of RequestSpecification.authentication().
AuthConfig - Class in com.jayway.restassured.internal.http
Encapsulates all configuration related to HTTP authentication methods.
AuthConfig(HTTPBuilder) - Constructor for class com.jayway.restassured.internal.http.AuthConfig
 
authenticate(HTTPBuilder) - Method in interface com.jayway.restassured.authentication.AuthenticationScheme
 
authenticate(HTTPBuilder) - Method in class com.jayway.restassured.authentication.BasicAuthScheme
 
authenticate(HTTPBuilder) - Method in class com.jayway.restassured.authentication.CertAuthScheme
 
authenticate(HTTPBuilder) - Method in class com.jayway.restassured.authentication.ExplicitNoAuthScheme
 
authenticate(HTTPBuilder) - Method in class com.jayway.restassured.authentication.FormAuthScheme
 
authenticate(HTTPBuilder) - Method in class com.jayway.restassured.authentication.NoAuthScheme
 
authenticate(HTTPBuilder) - Method in class com.jayway.restassured.authentication.OAuthScheme
 
authenticate(HTTPBuilder) - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
authentication() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
authentication - Static variable in class com.jayway.restassured.RestAssured
Set an authentication scheme that should be used for each request.
authentication() - Method in interface com.jayway.restassured.specification.RequestSpecification
If you need to specify some credentials when performing a request.
AuthenticationScheme - Interface in com.jayway.restassured.authentication
 
AuthenticationSpecification - Interface in com.jayway.restassured.specification
Specify an authentication scheme to use when sending a request.
AuthenticationSpecificationImpl - Class in com.jayway.restassured.internal
 
AuthenticationSpecificationImpl(RequestSpecification) - Constructor for class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
AuthFilter - Interface in com.jayway.restassured.spi
Marker interface for authentication filters.
available() - Method in class com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper
 
availableEncoders - Variable in class com.jayway.restassured.internal.http.ContentEncodingRegistry
 

B

base - Variable in class com.jayway.restassured.internal.http.URIBuilder
 
basePath - Static variable in class com.jayway.restassured.RestAssured
A base path that's added to the RestAssured.baseURI by REST assured when making requests.
baseURI - Static variable in class com.jayway.restassured.RestAssured
The base URI that's used by REST assured when making requests if a non-fully qualified URI is used in the request.
basic(String, String) - Method in class com.jayway.restassured.authentication.PreemptiveAuthProvider
Use preemptive http basic authentication.
basic(String, String) - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
basic(String, String) - Method in class com.jayway.restassured.internal.http.AuthConfig
Set authentication credentials to be used for the current default host.
basic(String, int, String, String) - Method in class com.jayway.restassured.internal.http.AuthConfig
Set authentication credentials to be used for the given host and port.
basic(String, String) - Method in class com.jayway.restassured.internal.PreemptiveAuthSpecImpl
 
basic(String, String) - Static method in class com.jayway.restassured.RestAssured
Create a http basic authentication scheme.
basic(String, String) - Method in interface com.jayway.restassured.specification.AuthenticationSpecification
Use http basic authentication.
basic(String, String) - Method in interface com.jayway.restassured.specification.PreemptiveAuthSpec
Use preemptive http basic authentication.
BasicAuthScheme - Class in com.jayway.restassured.authentication
 
BasicAuthScheme() - Constructor for class com.jayway.restassured.authentication.BasicAuthScheme
 
BasicNameValuePairWithNoValueSupport - Class in com.jayway.restassured.internal.http
Basically a copy of the BasicNameValuePair that allows for no-value parameters.
BasicNameValuePairWithNoValueSupport(String, Object) - Constructor for class com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport
Default Constructor taking a name and a value.
body() - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
body(boolean) - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
body(String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
body(byte...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
body(Object) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
body(Object, ObjectMapper) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
body() - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
body(boolean) - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
body(Matcher, Matcher...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
body(String, Matcher, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
body(String, List<Argument>, Matcher, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
body() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
body() - Method in interface com.jayway.restassured.response.Response
Returns the response body
body() - Method in interface com.jayway.restassured.specification.LogSpecification
Logs only the content of the body.
body(boolean) - Method in interface com.jayway.restassured.specification.LogSpecification
Logs only the content of the body and pretty-print the body if specified.
body(String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a String request body (such as e.g.
body(byte[]) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a byte array request body that'll be sent with the request.
body(Object) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request.
body(Object, ObjectMapper) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper.
body(String, List<Argument>, Matcher, Object...) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Same as ResponseSpecification.body(String, org.hamcrest.Matcher, Object...) expect that you can pass arguments to the key.
body(Matcher<?>, Matcher<?>...) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that the response body conforms to one or more Hamcrest matchers.
body(String, Matcher<?>, Object...) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that the JSON or XML response body conforms to one or more Hamcrest matchers.
BodyMatcher - Class in com.jayway.restassured.assertion
 
BodyMatcher() - Constructor for class com.jayway.restassured.assertion.BodyMatcher
 
BodyMatcherGroup - Class in com.jayway.restassured.assertion
 
BodyMatcherGroup() - Constructor for class com.jayway.restassured.assertion.BodyMatcherGroup
 
build() - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Build the request specification.
build() - Method in class com.jayway.restassured.builder.ResponseBuilder
Build the actual response
build() - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Build the response specification.
build() - Method in class com.jayway.restassured.response.Cookie.Builder
Build a Cookie from the specified parameters.
buildDefaultEncoderMap() - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Returns a map of default encoders.
buildDefaultResponseHandlers() - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Creates default response handlers for success and failure status codes.
builder - Variable in class com.jayway.restassured.internal.http.AuthConfig
 

C

call(Object, Object) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
call(Object) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
CertAuthScheme - Class in com.jayway.restassured.authentication
 
CertAuthScheme() - Constructor for class com.jayway.restassured.authentication.CertAuthScheme
 
certificate(String, String) - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
certificate(String, String) - Method in class com.jayway.restassured.internal.http.AuthConfig
Sets a certificate to be used for SSL authentication.
certificate(String, String) - Static method in class com.jayway.restassured.RestAssured
Sets a certificate to be used for SSL authentication.
certificate(String, String) - Method in interface com.jayway.restassured.specification.AuthenticationSpecification
Sets a certificate to be used for SSL authentication.
CharsetExtractor - Class in com.jayway.restassured.internal.http
 
CharsetExtractor() - Constructor for class com.jayway.restassured.internal.http.CharsetExtractor
 
children() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
children() - Method in interface com.jayway.restassured.path.xml.element.Node
The node children
client - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
clone(Response) - Method in class com.jayway.restassured.builder.ResponseBuilder
Clone an already existing response.
clone() - Method in class com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport
 
clone() - Method in class com.jayway.restassured.internal.http.URIBuilder
Create a copy of this URIBuilder instance.
close() - Method in class com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper
 
CloseHTTPClientConnectionInputStreamWrapper - Class in com.jayway.restassured.internal.support
 
CloseHTTPClientConnectionInputStreamWrapper(ClientConnectionManager, InputStream) - Constructor for class com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper
 
com.jayway.restassured - package com.jayway.restassured
 
com.jayway.restassured.assertion - package com.jayway.restassured.assertion
 
com.jayway.restassured.authentication - package com.jayway.restassured.authentication
 
com.jayway.restassured.builder - package com.jayway.restassured.builder
 
com.jayway.restassured.config - package com.jayway.restassured.config
 
com.jayway.restassured.exception - package com.jayway.restassured.exception
 
com.jayway.restassured.filter - package com.jayway.restassured.filter
 
com.jayway.restassured.filter.log - package com.jayway.restassured.filter.log
 
com.jayway.restassured.http - package com.jayway.restassured.http
 
com.jayway.restassured.internal - package com.jayway.restassured.internal
 
com.jayway.restassured.internal.filter - package com.jayway.restassured.internal.filter
 
com.jayway.restassured.internal.http - package com.jayway.restassured.internal.http
 
com.jayway.restassured.internal.mapping - package com.jayway.restassured.internal.mapping
 
com.jayway.restassured.internal.matcher.xml - package com.jayway.restassured.internal.matcher.xml
 
com.jayway.restassured.internal.path - package com.jayway.restassured.internal.path
 
com.jayway.restassured.internal.path.xml - package com.jayway.restassured.internal.path.xml
 
com.jayway.restassured.internal.support - package com.jayway.restassured.internal.support
 
com.jayway.restassured.mapper - package com.jayway.restassured.mapper
 
com.jayway.restassured.matcher - package com.jayway.restassured.matcher
 
com.jayway.restassured.parsing - package com.jayway.restassured.parsing
 
com.jayway.restassured.path.json - package com.jayway.restassured.path.json
 
com.jayway.restassured.path.xml - package com.jayway.restassured.path.xml
 
com.jayway.restassured.path.xml.element - package com.jayway.restassured.path.xml.element
 
com.jayway.restassured.response - package com.jayway.restassured.response
 
com.jayway.restassured.specification - package com.jayway.restassured.specification
 
com.jayway.restassured.spi - package com.jayway.restassured.spi
 
COMMENT - Static variable in class com.jayway.restassured.response.Cookie
 
config() - Static method in class com.jayway.restassured.config.RestAssuredConfig
 
config(RestAssuredConfig) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
config - Static variable in class com.jayway.restassured.RestAssured
Define a configuration for redirection settings and http client parameters (default is null).
config(RestAssuredConfig) - Method in interface com.jayway.restassured.specification.RequestSpecification
Define a configuration for redirection settings and http client parameters.
containsCookie(List<String>) - Method in class com.jayway.restassured.assertion.CookieMatcher
 
containsHeader(Object) - Method in class com.jayway.restassured.assertion.HeaderMatcher
 
containsHeader(String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
containsMatchers() - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
content(String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
content(byte...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
content(Object) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
content(Object, ObjectMapper) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
content(Matcher, Matcher...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
content(String, Matcher, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
content(String, List<Argument>, Matcher, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
content(String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a String request content (such as e.g.
content(byte[]) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a byte array request content that'll be sent with the request.
content(Object) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request.
content(Object, ObjectMapper) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper.
content(Matcher<?>, Matcher<?>...) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that the response content conforms to one or more Hamcrest matchers.
content(String, Matcher<?>, Object...) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that the JSON or XML response content conforms to one or more Hamcrest matchers.
content(String, List<Argument>, Matcher, Object...) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Same as ResponseSpecification.content(String, java.util.List, org.hamcrest.Matcher, Object...) expect that you can pass arguments to the path.
CONTENT_ENC_HDR - Static variable in class com.jayway.restassured.internal.http.ContentEncoding
 
ContentEncoding - Class in com.jayway.restassured.internal.http
Base class for handing content-encoding.
ContentEncoding() - Constructor for class com.jayway.restassured.internal.http.ContentEncoding
 
ContentEncoding.RequestInterceptor - Class in com.jayway.restassured.internal.http
Request interceptor that adds the correct Accept header to the outgoing request.
ContentEncoding.RequestInterceptor() - Constructor for class com.jayway.restassured.internal.http.ContentEncoding.RequestInterceptor
 
ContentEncoding.ResponseInterceptor - Class in com.jayway.restassured.internal.http
Response interceptor that filters the response stream to decode the compressed content before it is passed on to the parser.
ContentEncoding.ResponseInterceptor() - Constructor for class com.jayway.restassured.internal.http.ContentEncoding.ResponseInterceptor
 
ContentEncoding.Type - Enum in com.jayway.restassured.internal.http
Enumeration of common content-encodings.
contentEncodingHandler - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
ContentEncodingRegistry - Class in com.jayway.restassured.internal.http
Keeps track of available content-encoding handlers.
ContentEncodingRegistry() - Constructor for class com.jayway.restassured.internal.http.ContentEncodingRegistry
 
ContentParser - Class in com.jayway.restassured.internal
 
ContentParser() - Constructor for class com.jayway.restassured.internal.ContentParser
 
ContentType - Enum in com.jayway.restassured.http
Enumeration of common IANA content-types.
contentType(ContentType) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
contentType(String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
contentType(ContentType) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
contentType(String) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
contentType(Matcher<? super String>) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
contentType() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
contentType() - Method in interface com.jayway.restassured.response.Response
Get the content type of the response
contentType(ContentType) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the content type of the request.
contentType(String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the content type of the request.
contentType(ContentType) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Set the response content type to be contentType.
contentType(String) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Set the response content type to be contentType.
contentType(Matcher<? super String>) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect the response content type to be contentType.
ContentTypeExtractor - Class in com.jayway.restassured.internal.http
 
ContentTypeExtractor() - Constructor for class com.jayway.restassured.internal.http.ContentTypeExtractor
 
convertObjectTo(Object, Class<T>) - Static method in class com.jayway.restassured.internal.path.ObjectConverter
 
convertToURI(Object) - Static method in class com.jayway.restassured.internal.http.URIBuilder
Utility method to convert a number of type to a URI instance.
cookie(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
cookie(Cookie) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
cookie(String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
cookie(String, Matcher) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
cookie(String) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
cookie(String, Object) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
cookie(String) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
Cookie - Class in com.jayway.restassured.response
Cookie class represents a token or short packet of state information (also referred to as "magic-cookie") that the HTTP agent and the target server can exchange to maintain a session.
cookie(String) - Method in interface com.jayway.restassured.response.Response
Get a single cookie value associated with the given name.
cookie(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a cookie that'll be sent with the request e.g:
cookie(String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a cookie with no value that'll be sent with the request e.g:
cookie(Cookie) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a Cookie to send with the request.
cookie(String) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that a cookie exist in the response, regardless of value (it may have no value at all).
cookie(String, Matcher<?>) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that a response cookie matches the supplied cookie name and hamcrest matcher.
cookie(String, Object) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that a response cookie matches the supplied name and value.
Cookie.Builder - Class in com.jayway.restassured.response
 
Cookie.Builder(String) - Constructor for class com.jayway.restassured.response.Cookie.Builder
Create a cookie with no value
Cookie.Builder(String, String) - Constructor for class com.jayway.restassured.response.Cookie.Builder
Create a cookie with name and value
CookieMatcher - Class in com.jayway.restassured.assertion
 
CookieMatcher() - Constructor for class com.jayway.restassured.assertion.CookieMatcher
 
cookies() - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
cookies(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
cookies(Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
cookies(Cookies) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
cookies() - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
cookies(Map) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
cookies(String, Object, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
cookies() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
Cookies - Class in com.jayway.restassured.response
Represents the a number of response cookies
Cookies(Cookie...) - Constructor for class com.jayway.restassured.response.Cookies
 
Cookies(List<Cookie>) - Constructor for class com.jayway.restassured.response.Cookies
 
cookies(Cookie, Cookie...) - Static method in class com.jayway.restassured.response.Cookies
An alternative way to create a Cookies object from the constructor.
cookies() - Method in interface com.jayway.restassured.response.Response
The response cookies as simple name/value pair.
cookies() - Method in interface com.jayway.restassured.specification.LogSpecification
Logs only the cookies.
cookies(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the cookies that'll be sent with the request.
cookies(Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the cookies that'll be sent with the request as Map e.g:
cookies(Cookies) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the cookies that'll be sent with the request as Cookies:
cookies(Map<String, ?>) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that response cookies matches those specified in a Map.
cookies(String, Object, Object...) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that response cookies matches the supplied cookie names and values.
createAssertionForCustomParser(ResponseParserRegistrar, String, Object) - Static method in class com.jayway.restassured.assertion.StreamVerifier
 
createEntity(String, byte[]) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
 
createEntity(String, String) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Helper method used by encoder methods to create an HttpEntity instance that encapsulates the request data.
createMapFromObjects(Object...) - Static method in class com.jayway.restassured.internal.MapCreator
 
createMapFromParams(String, Object, Object...) - Static method in class com.jayway.restassured.internal.MapCreator
 
createMapFromParams(String, Object...) - Static method in class com.jayway.restassured.internal.MapCreator
 

D

DecoderConfig - Class in com.jayway.restassured.config
Allows you to specify configuration for the decoder.
DecoderConfig() - Constructor for class com.jayway.restassured.config.DecoderConfig
Configure the decoder config to use "ISO-8859-1" for content decoding.
DecoderConfig(String) - Constructor for class com.jayway.restassured.config.DecoderConfig
 
decoderConfig() - Static method in class com.jayway.restassured.config.DecoderConfig
 
decoderConfig(DecoderConfig) - Method in class com.jayway.restassured.config.RestAssuredConfig
Set the Decoder config.
DEFAULT_AUTH - Static variable in class com.jayway.restassured.RestAssured
 
DEFAULT_BODY_ROOT_PATH - Static variable in class com.jayway.restassured.RestAssured
 
DEFAULT_PATH - Static variable in class com.jayway.restassured.RestAssured
 
DEFAULT_PORT - Static variable in class com.jayway.restassured.RestAssured
 
DEFAULT_SESSION_ID_NAME - Static variable in class com.jayway.restassured.config.SessionConfig
 
DEFAULT_SESSION_ID_VALUE - Static variable in class com.jayway.restassured.RestAssured
 
DEFAULT_URI - Static variable in class com.jayway.restassured.RestAssured
 
DEFAULT_URL_ENCODING_ENABLED - Static variable in class com.jayway.restassured.RestAssured
 
defaultContentCharset() - Method in class com.jayway.restassured.config.DecoderConfig
 
defaultContentCharset(String) - Method in class com.jayway.restassured.config.DecoderConfig
 
defaultContentCharset() - Method in class com.jayway.restassured.config.EncoderConfig
 
defaultContentCharset(String) - Method in class com.jayway.restassured.config.EncoderConfig
 
defaultContentType - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
defaultFailureHandler(HttpResponseDecorator) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
This is the default response.failure handler.
defaultParser(Parser) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
defaultParser - Static variable in class com.jayway.restassured.RestAssured
Specify a default parser.
defaultParser(Parser) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Register a default predefined parser that will be used if no other parser (registered or pre-defined) matches the response content-type.
defaultQueryParameterCharset() - Method in class com.jayway.restassured.config.EncoderConfig
 
defaultQueryParameterCharset(String) - Method in class com.jayway.restassured.config.EncoderConfig
 
defaultRequestContentType - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
defaultRequestHeaders - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
defaultResponseHandlers - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
defaultStream() - Method in class com.jayway.restassured.config.LogConfig
 
defaultStream(PrintStream) - Method in class com.jayway.restassured.config.LogConfig
Specify a new default stream to the print to.
defaultSuccessHandler(HttpResponseDecorator, Object) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
This is the default response.success handler.
defaultURI - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
DeflateEncoding - Class in com.jayway.restassured.internal.http
Content encoding used to handle Deflate responses.
DeflateEncoding() - Constructor for class com.jayway.restassured.internal.http.DeflateEncoding
 
DeflateEncoding.InflaterEntity - Class in com.jayway.restassured.internal.http
Entity used to interpret a Deflate-encoded response
DeflateEncoding.InflaterEntity(HttpEntity) - Constructor for class com.jayway.restassured.internal.http.DeflateEncoding.InflaterEntity
 
delegate - Variable in class com.jayway.restassured.internal.http.HttpContextDecorator
 
delete(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
delete(String, Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
delete(String, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
delete(String, Map) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
delete(String, Object...) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
delete(String, Map) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
delete(String, Object...) - Static method in class com.jayway.restassured.RestAssured
Perform a DELETE request to a path.
delete(String, Map<String, ?>) - Static method in class com.jayway.restassured.RestAssured
Perform a DELETE request to a path.
delete(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSender
Perform a DELETE request to a path.
delete(String, Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSender
Perform a DELETE request to a path.
describeTo(Description) - Method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
describeTo(Description) - Method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
description() - Method in interface com.jayway.restassured.assertion.Assertion
 
description() - Method in class com.jayway.restassured.assertion.JSONAssertion
 
description() - Method in class com.jayway.restassured.assertion.XMLAssertion
 
deserialize(Object, String, Class) - Method in class com.jayway.restassured.internal.mapping.JacksonMapping
 
deserialize(Object, Class<T>, String, String, ObjectMapper) - Static method in class com.jayway.restassured.internal.mapping.ObjectMapping
 
deserialze(Object, String, Class) - Method in class com.jayway.restassured.internal.mapping.GsonMapping
 
deserialze(Object, String, Class) - Method in class com.jayway.restassured.internal.mapping.JaxbMapping
 
detailedCookie(String) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
detailedCookie(String) - Method in interface com.jayway.restassured.response.Response
Get a single cookie including all attributes associated with the given name.
detailedCookies() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
detailedCookies() - Method in interface com.jayway.restassured.response.Response
The response cookies with all the attributes.
digest(String, String) - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
digest(String, String) - Static method in class com.jayway.restassured.RestAssured
Use http digest authentication.
digest(String, String) - Method in interface com.jayway.restassured.specification.AuthenticationSpecification
Use http digest authentication.
DOMAIN - Static variable in class com.jayway.restassured.response.Cookie
 
doPrettify(Closure<String>) - Method in class com.jayway.restassured.internal.support.Prettifier
 
doRequest(URI, Method, Object, Closure) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Create a HTTPBuilder.RequestConfigDelegate from the given arguments, execute the config closure, then pass the delegate to HTTPBuilder.doRequest(RequestConfigDelegate), which actually executes the request.
doRequest(HTTPBuilder.RequestConfigDelegate) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
A copy of HTTP builders doRequest method with two exceptions.
doubleStar() - Static method in class com.jayway.restassured.assertion.AssertionSupport
 

E

enablePrettyPrinting(boolean) - Method in class com.jayway.restassured.config.LogConfig
Specify a whether or not to enable pretty printing by default.
encode(String, String) - Static method in class com.jayway.restassured.internal.http.URIBuilder
 
encodeForm(Map<?, ?>) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Set the request body as a url-encoded list of parameters.
encodeForm(Object, String) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Accepts a String as a url-encoded form post.
encodeJSON(Object, Object) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Accepts a Collection or a JavaBean object which is converted to JSON.
EncoderConfig - Class in com.jayway.restassured.config
Allows you to specify configuration for the encoder
EncoderConfig() - Constructor for class com.jayway.restassured.config.EncoderConfig
Configure the encoder config to use for content encoding and .
EncoderConfig(String, String) - Constructor for class com.jayway.restassured.config.EncoderConfig
 
encoderConfig() - Static method in class com.jayway.restassured.config.EncoderConfig
 
encoderConfig(EncoderConfig) - Method in class com.jayway.restassured.config.RestAssuredConfig
Set the Encoder config.
EncoderRegistry - Class in com.jayway.restassured.internal.http
This class handles creation of the request body (i.e.
EncoderRegistry() - Constructor for class com.jayway.restassured.internal.http.EncoderRegistry
 
encoders - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
encodeStream(Object, Object) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Default request encoder for a binary stream.
encodeText(Object, Object) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Default handler used for a plain text content-type.
encodeXML(Object, Object) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Encode the content as XML.
equals(Object) - Method in class com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport
 
equals(Object) - Method in class com.jayway.restassured.internal.http.URIBuilder
Determine if this URIBuilder is equal to another URIBuilder instance.
equals(Object) - Method in class com.jayway.restassured.response.Cookie
 
equals(Object) - Method in class com.jayway.restassured.response.Header
 
equals(Object) - Method in class com.jayway.restassured.specification.Argument
 
errorLogger() - Static method in class com.jayway.restassured.filter.log.ErrorLoggingFilter
Create a new error logging filter without using the "new" operator.
ErrorLoggingFilter - Class in com.jayway.restassured.filter.log
A filter that'll print the response body if an error occurred (status code is between 400 and 500).
ErrorLoggingFilter() - Constructor for class com.jayway.restassured.filter.log.ErrorLoggingFilter
Log to system out
ErrorLoggingFilter(PrintStream) - Constructor for class com.jayway.restassured.filter.log.ErrorLoggingFilter
Instantiate a error logger using a specific print stream
escapePath(Object, Closure...) - Static method in class com.jayway.restassured.assertion.AssertionSupport
 
everything(boolean) - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
everything() - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
everything() - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
everything(boolean) - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
everything() - Method in interface com.jayway.restassured.specification.LogSpecification
Logs everything in the specification, including e.g.
everything(boolean) - Method in interface com.jayway.restassured.specification.LogSpecification
Logs everything in the specification, including e.g.
exist() - Method in class com.jayway.restassured.internal.MultiValueEntity
 
exist() - Method in class com.jayway.restassured.response.Cookies
 
exist() - Method in class com.jayway.restassured.response.Headers
 
expect() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
expect() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
expect() - Static method in class com.jayway.restassured.RestAssured
Start building the response part of the test com.jayway.restassured.specification.
expect() - Method in interface com.jayway.restassured.specification.RequestSpecification
Returns the response specification so that you can setup the expectations on the response.
expect() - Method in interface com.jayway.restassured.specification.ResponseSpecification
Syntactic sugar, e.g.
expectBody(Matcher<?>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that the response content conforms to one or more Hamcrest matchers.
expectBody(String, Matcher<?>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that the JSON or XML response content conforms to one or more Hamcrest matchers.
expectBody(String, List<Argument>, Matcher<?>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Same as ResponseSpecBuilder.expectBody(String, org.hamcrest.Matcher) expect that you can pass arguments to the path.
expectContent(Matcher<?>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that the response content conforms to one or more Hamcrest matchers.
expectContent(String, Matcher<?>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that the JSON or XML response content conforms to one or more Hamcrest matchers.
expectContent(String, List<Argument>, Matcher<?>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Same as ResponseSpecBuilder.expectContent(String, org.hamcrest.Matcher) expect that you can pass arguments to the path.
expectContentType(ContentType) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Set the response content type to be contentType.
expectContentType(String) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Set the response content type to be contentType.
expectCookie(String, Matcher<String>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that a response cookie matches the supplied cookie name and hamcrest matcher.
expectCookie(String, String) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that a response cookie matches the supplied name and value.
expectCookie(String) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that a cookie exist in the response, regardless of value (it may have no value at all).
expectCookies(Map<String, Object>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that response cookies matches those specified in a Map.
expectHeader(String, Matcher<String>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that a response header matches the supplied header name and hamcrest matcher.
expectHeader(String, String) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that a response header matches the supplied name and value.
expectHeaders(Map<String, Object>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that response headers matches those specified in a Map.
expectStatusCode(Matcher<Integer>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that the response status code matches the given Hamcrest matcher.
expectStatusCode(int) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that the response status code matches an integer.
expectStatusLine(Matcher<String>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that the response status line matches the given Hamcrest matcher.
expectStatusLine(String) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Expect that the response status line matches the given String.
EXPIRES - Static variable in class com.jayway.restassured.response.Cookie
 
ExplicitNoAuthScheme - Class in com.jayway.restassured.authentication
 
ExplicitNoAuthScheme() - Constructor for class com.jayway.restassured.authentication.ExplicitNoAuthScheme
 

F

fallbackToResponseBodyIfContentHasAlreadyBeenRead(Response, Object) - Method in class com.jayway.restassured.assertion.BodyMatcher
 
Filter - Interface in com.jayway.restassured.filter
A filter allows you to inspect and alter a request before it's actually committed and also inspect and alter the response before it's returned to the expectations.
filter(FilterableRequestSpecification, FilterableResponseSpecification, FilterContext) - Method in interface com.jayway.restassured.filter.Filter
Filter the incoming request and response specifications and outgoing response.
filter(FilterableRequestSpecification, FilterableResponseSpecification, FilterContext) - Method in class com.jayway.restassured.filter.log.RequestLoggingFilter
 
filter(FilterableRequestSpecification, FilterableResponseSpecification, FilterContext) - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
filter(FilterableRequestSpecification, FilterableResponseSpecification, FilterContext) - Method in class com.jayway.restassured.internal.filter.RootFilter
 
filter(Filter) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
filter(Filter) - Method in interface com.jayway.restassured.specification.RequestSpecification
Add a filter that will be used in the request.
FilterableRequestSpecification - Interface in com.jayway.restassured.specification
A request specification that also supports getting the defined values.
FilterableResponseSpecification - Interface in com.jayway.restassured.specification
A response specification that also supports getting the defined values.
FilterContext - Interface in com.jayway.restassured.filter
Provides the functionality to set properties, sending requests and continue the filter chain.
FilterContextImpl - Class in com.jayway.restassured.internal.filter
 
FilterContextImpl(String, String, Method, Object, List<Filter>) - Constructor for class com.jayway.restassured.internal.filter.FilterContextImpl
 
filters(List<Filter>) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
filters(Filter, Filter...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
filters(List<Filter>) - Static method in class com.jayway.restassured.RestAssured
The the default filters to apply to each request.
filters(Filter, Filter...) - Static method in class com.jayway.restassured.RestAssured
The the default filters to apply to each request.
filters() - Static method in class com.jayway.restassured.RestAssured
 
filters(List<Filter>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Add filters that will be used in the request.
filters(Filter, Filter...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Add filters that will be used in the request.
find(int) - Static method in enum com.jayway.restassured.internal.http.Status
Find the Status value that matches the given status code.
findContentType(HttpResponse) - Static method in class com.jayway.restassured.internal.http.HttpResponseContentTypeFinder
Helper method to get the content-type string from the response (no charset).
findResponseHandler(int) - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Get the proper response handler for the response code.
follow(boolean) - Method in class com.jayway.restassured.internal.RedirectSpecificationImpl
 
follow(boolean) - Method in interface com.jayway.restassured.specification.RedirectSpecification
Defines whether redirects should be followed automatically.
followRedirects(boolean) - Method in class com.jayway.restassured.config.RedirectConfig
Configure if REST Assured should follow redirects
followsRedirects() - Method in class com.jayway.restassured.config.RedirectConfig
 
form(String, String) - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
form(String, String, FormAuthConfig) - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
form(String, String) - Static method in class com.jayway.restassured.RestAssured
Use form authentication.
form(String, String, FormAuthConfig) - Static method in class com.jayway.restassured.RestAssured
Use form authentication with the supplied configuration.
form(String, String) - Method in interface com.jayway.restassured.specification.AuthenticationSpecification
Use form authentication.
form(String, String, FormAuthConfig) - Method in interface com.jayway.restassured.specification.AuthenticationSpecification
Use form authentication with the supplied configuration.
FormAuthConfig - Class in com.jayway.restassured.authentication
Configuration of form authentication to correctly identify which form that contains the username and password and the action of the form.
FormAuthConfig(String, String, String) - Constructor for class com.jayway.restassured.authentication.FormAuthConfig
Create a form auth config with a pre-defined form action, username input tag, password input tag.
FormAuthFilter - Class in com.jayway.restassured.internal.filter
 
FormAuthFilter() - Constructor for class com.jayway.restassured.internal.filter.FormAuthFilter
 
FormAuthScheme - Class in com.jayway.restassured.authentication
 
FormAuthScheme() - Constructor for class com.jayway.restassured.authentication.FormAuthScheme
 
formParam(String, Collection<?>) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
formParam(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
formParam(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.formParameter(String, Object...).
formParam(String, Collection<?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of #formParameter(String, java.util.Collection.
formParameter(String, Collection<?>) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
formParameter(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
formParameter(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a form parameter that'll be sent with the request.
formParameter(String, Collection<?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a multi-value form parameter that'll be sent with the request e.g:
formParameters(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
formParameters(Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
formParameters(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the form parameters that'll be sent with the request.
formParameters(Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the form parameters that'll be sent with the request.
formParams(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
formParams(Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
formParams(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.formParameters(String, Object, Object...).
formParams(Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.formParams(java.util.Map).
from(InputStream) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
from(String) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
from(File) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
from(Reader) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
from(URL) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
from(InputStream) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
from(String) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
from(InputSource) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
from(File) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
from(Reader) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
from(URI) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
fromContentType(String) - Static method in enum com.jayway.restassured.http.ContentType
 
fromContentType(String) - Static method in enum com.jayway.restassured.parsing.Parser
 

G

generateAuthToken() - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
generateWhitespace(int) - Static method in class com.jayway.restassured.assertion.AssertionSupport
 
get(Map<String, ?>) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Convenience method to perform an HTTP GET.
get(Map<String, ?>, Closure) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Convenience method to perform an HTTP GET.
get(String) - Method in class com.jayway.restassured.internal.MultiValueEntity
Get a single entity with the supplied name.
get(String) - Method in class com.jayway.restassured.internal.path.xml.NodeBase
 
get(String, Object, boolean) - Method in class com.jayway.restassured.internal.path.xml.NodeBase
 
get(int) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
get(String) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
get(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
get(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
get(String, Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
get(String, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
get(String, Map) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
get(String, Object...) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
get(String, Map) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
get() - Method in class com.jayway.restassured.path.json.JsonPath
Get a Object graph with no named root element as a Java object.
get(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a boolean.
get(int) - Method in interface com.jayway.restassured.path.xml.element.NodeChildren
The the Node on the nth index
get(String) - Method in interface com.jayway.restassured.path.xml.element.PathElement
Get a value from the current XML object.
get() - Method in class com.jayway.restassured.path.xml.XmlPath
Get the entire XML graph as an Object this url.
get(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression.
get(String) - Method in class com.jayway.restassured.response.Cookies
Get a single cookie with the supplied name.
get(String) - Method in class com.jayway.restassured.response.Headers
Get a single header with the supplied name.
get(String, Object...) - Static method in class com.jayway.restassured.RestAssured
Perform a GET request to a path.
get(String, Map<String, ?>) - Static method in class com.jayway.restassured.RestAssured
Perform a GET request to a path.
get(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSender
Perform a GET request to a path.
get(String, Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSender
Perform a GET request to a path.
getAcceptHeader() - Method in enum com.jayway.restassured.http.ContentType
Builds a string to be used as an HTTP Accept header value, i.e.
getAccessToken() - Method in class com.jayway.restassured.authentication.OAuthScheme
 
getAllHeaders() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
getArgument() - Method in class com.jayway.restassured.specification.Argument
 
getAsJsonObject(Object) - Method in class com.jayway.restassured.assertion.JSONAssertion
 
getAssertionClosure() - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
getAt(Object) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Retrieve a encoder for the given content-type.
getAt(String) - Method in class com.jayway.restassured.internal.http.HttpContextDecorator
Groovy support for the index [] operator
getAt(String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator.HeadersDecorator
Access the named header value, using bracket form.
getAttribute(String) - Method in class com.jayway.restassured.internal.http.HttpContextDecorator
 
getAttribute(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getAttribute(String) - Method in interface com.jayway.restassured.path.xml.element.Node
Get the value of an attribute.
getAttributes() - Method in class com.jayway.restassured.assertion.XmlEntity
 
getAttributes() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getAuthenticationScheme() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getAuthenticationScheme() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getBasePath() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getBasePath() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getBaseUri() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getBaseUri() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getBody() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getBody() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getBody() - Method in interface com.jayway.restassured.response.Response
Returns the response body
getBody() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getBoolean(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getBoolean(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a boolean
getBoolean(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a boolean.
getByte(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getByte(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a byte.
getByte(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a byte.
getCause() - Method in exception com.jayway.restassured.internal.http.ResponseParseException
 
getCertURL() - Method in class com.jayway.restassured.authentication.CertAuthScheme
 
getChar(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getChar(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a char.
getChar(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a char.
getCharsetFromContentType(String) - Static method in class com.jayway.restassured.internal.http.CharsetExtractor
 
getChildren() - Method in class com.jayway.restassured.assertion.XmlEntity
 
getChildren() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getClient() - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Return the underlying HTTPClient that is used to handle HTTP requests.
getClosure() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
getComment() - Method in class com.jayway.restassured.response.Cookie
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.
getCompleteRequestPath() - Method in interface com.jayway.restassured.filter.FilterContext
 
getCompleteRequestPath() - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
getConfig() - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
getConfig() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getConfig() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getConnectionManager() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getConsumerKey() - Method in class com.jayway.restassured.authentication.OAuthScheme
 
getConsumerSecret() - Method in class com.jayway.restassured.authentication.OAuthScheme
 
getContent() - Method in class com.jayway.restassured.internal.http.DeflateEncoding.InflaterEntity
returns a InflaterInputStream which wraps the original entity's content stream
getContent() - Method in class com.jayway.restassured.internal.http.GZIPEncoding.GZIPDecompressingEntity
returns a GZIPInputStream which wraps the original entity's content stream
getContent() - Method in class com.jayway.restassured.internal.MultiPart
 
getContent() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getContentBody() - Method in class com.jayway.restassured.internal.MultiPart
 
getContentEncoding() - Method in class com.jayway.restassured.internal.http.ContentEncoding
 
getContentEncoding() - Method in class com.jayway.restassured.internal.http.DeflateEncoding
Returns the ContentEncoding.Type.DEFLATE encoding string which is added to the Accept-Encoding header by the base class.
getContentEncoding() - Method in class com.jayway.restassured.internal.http.GZIPEncoding
Returns the ContentEncoding.Type.GZIP encoding string which is added to the Accept-Encoding header by the base class.
getContentLength() - Method in class com.jayway.restassured.internal.http.DeflateEncoding.InflaterEntity
 
getContentLength() - Method in class com.jayway.restassured.internal.http.GZIPEncoding.GZIPDecompressingEntity
 
getContentType() - Method in class com.jayway.restassured.internal.http.HTTPBuilder
 
getContentType() - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Get the content-type of any data sent in the request body and the expected response content-type.
getContentType() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
Get the content-type for this response.
getContentType() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getContentType() - Method in enum com.jayway.restassured.parsing.Parser
 
getContentType() - Method in interface com.jayway.restassured.response.Response
Get the content type of the response
getContentTypeStrings() - Method in enum com.jayway.restassured.http.ContentType
 
getContentTypeWithoutCharset(String) - Static method in class com.jayway.restassured.internal.http.ContentTypeExtractor
 
getContext() - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Get the HttpContext that will be used for this request.
getContext() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
Get the execution context used during this request
getCookie(String) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getCookie(String) - Method in interface com.jayway.restassured.response.Response
Get a single cookie value associated with the given name.
getCookieName() - Method in class com.jayway.restassured.assertion.CookieMatcher
 
getCookies(Object) - Static method in class com.jayway.restassured.assertion.CookieMatcher
 
getCookies() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getCookies() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getCookies() - Method in interface com.jayway.restassured.response.Response
The response cookies as simple name/value pair.
getCookies() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getData() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
Return the parsed data from this response body.
getDecoderConfig() - Method in class com.jayway.restassured.config.RestAssuredConfig
 
getDefaultCharset() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getDefaultContentType() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getDefaultEncoders() - Method in class com.jayway.restassured.internal.http.ContentEncodingRegistry
This implementation adds a GZIPEncoding and DeflateEncoding handler to the registry.
getDefinedFilters() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getDefinedFilters() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getDescription() - Method in class com.jayway.restassured.assertion.BodyMatcher
 
getDescriptions() - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
getDetailedCookie(String) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getDetailedCookie(String) - Method in interface com.jayway.restassured.response.Response
Get a single cookie including all attributes associated with the given name.
getDetailedCookies() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getDetailedCookies() - Method in interface com.jayway.restassured.response.Response
The response cookies with all the attributes.
getDomain() - Method in class com.jayway.restassured.response.Cookie
Returns domain attribute of the cookie.
getDouble(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getDouble(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a double.
getDouble(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a double.
getDtd() - Method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
getEncoderConfig() - Method in class com.jayway.restassured.config.RestAssuredConfig
 
getEntity() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
getExpiryDate() - Method in class com.jayway.restassured.response.Cookie
Returns the expiration Date of the cookie, or null if none exists.
getFileName() - Method in class com.jayway.restassured.internal.MultiPart
 
getFirstHeader(String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
getFloat(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getFloat(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a float.
getFloat(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a float.
getFormAction() - Method in class com.jayway.restassured.authentication.FormAuthConfig
 
getFormParams() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getFormParams() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getHandler() - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Retrieve the map of response code handlers.
getHasExpectations() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getHasNext() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
getHeader(String) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getHeader(String) - Method in interface com.jayway.restassured.response.Response
Get a single header value associated with the given name.
getHeaderName() - Method in class com.jayway.restassured.assertion.HeaderMatcher
 
getHeaders() - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Get the map of default headers that will be added to all requests.
getHeaders() - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Get request headers (including any default headers set on this HTTPBuilder instance).
getHeaders() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
Return a HttpResponseDecorator.HeadersDecorator, which provides a more Groovy API for accessing response headers.
getHeaders(String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
getHeaders() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getHeaders() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getHeaders() - Method in interface com.jayway.restassured.response.Response
The response headers.
getHeaders() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getHttpClientConfig() - Method in class com.jayway.restassured.config.RestAssuredConfig
 
getInt(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getInt(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as an int.
getInt(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as an int.
getIterator() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
getJsonObject(String) - Method in class com.jayway.restassured.path.json.JsonPath
 
getKey() - Method in class com.jayway.restassured.assertion.BodyMatcher
 
getKey() - Method in class com.jayway.restassured.assertion.JSONAssertion
 
getKey() - Method in class com.jayway.restassured.assertion.XMLAssertion
 
getKeyAndValueOfCookie(String) - Static method in class com.jayway.restassured.assertion.CookieMatcher
 
getLastHeader(String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
getList(String) - Method in class com.jayway.restassured.internal.MultiValueEntity
Get all entities with the supplied name.
getList(String) - Method in class com.jayway.restassured.internal.path.xml.NodeBase
 
getList(String) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
getList(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getList(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a list.
getList(String, Class<T>) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a list.
getList(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a list.
getList(String, Class<T>) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a list.
getList(String) - Method in class com.jayway.restassured.response.Cookies
Get all cookies with the supplied name.
getList(String) - Method in class com.jayway.restassured.response.Headers
Get all headers with the supplied name.
getLocale() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
getLogConfig() - Method in class com.jayway.restassured.config.RestAssuredConfig
 
getLong(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getLong(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a long.
getLong(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a long.
getMap(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a map.
getMap(String, Class<K>, Class<V>) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a map.
getMap(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a map.
getMap(String, Class<K>, Class<V>) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a map.
getMatcher() - Method in class com.jayway.restassured.assertion.BodyMatcher
 
getMatcher() - Method in class com.jayway.restassured.assertion.CookieMatcher
 
getMatcher() - Method in class com.jayway.restassured.assertion.HeaderMatcher
 
getMaxAge() - Method in class com.jayway.restassured.response.Cookie
Returns the maximum age of the cookie, specified in seconds, By default, -1 indicating the cookie will persist until browser shutdown.
getMetaClass() - Method in class com.jayway.restassured.assertion.AssertionSupport
 
getMetaClass() - Method in class com.jayway.restassured.assertion.AssertParameter
 
getMetaClass() - Method in class com.jayway.restassured.assertion.BodyMatcher
 
getMetaClass() - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
getMetaClass() - Method in class com.jayway.restassured.assertion.CookieMatcher
 
getMetaClass() - Method in class com.jayway.restassured.assertion.HeaderMatcher
 
getMetaClass() - Method in class com.jayway.restassured.assertion.JSONAssertion
 
getMetaClass() - Method in class com.jayway.restassured.assertion.StreamVerifier
 
getMetaClass() - Method in class com.jayway.restassured.assertion.XMLAssertion
 
getMetaClass() - Method in class com.jayway.restassured.assertion.XmlEntity
 
getMetaClass() - Method in class com.jayway.restassured.authentication.BasicAuthScheme
 
getMetaClass() - Method in class com.jayway.restassured.authentication.CertAuthScheme
 
getMetaClass() - Method in class com.jayway.restassured.authentication.ExplicitNoAuthScheme
 
getMetaClass() - Method in class com.jayway.restassured.authentication.FormAuthScheme
 
getMetaClass() - Method in class com.jayway.restassured.authentication.NoAuthScheme
 
getMetaClass() - Method in class com.jayway.restassured.authentication.OAuthScheme
 
getMetaClass() - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
getMetaClass() - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.ContentParser
 
getMetaClass() - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
getMetaClass() - Method in class com.jayway.restassured.internal.filter.RootFilter
 
getMetaClass() - Method in class com.jayway.restassured.internal.http.CharsetExtractor
 
getMetaClass() - Method in class com.jayway.restassured.internal.http.ContentTypeExtractor
 
getMetaClass() - Method in class com.jayway.restassured.internal.KeystoreSpecImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.LogSpecificationImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.MapCreator
 
getMetaClass() - Method in class com.jayway.restassured.internal.mapping.GsonMapping
 
getMetaClass() - Method in class com.jayway.restassured.internal.mapping.JacksonMapping
 
getMetaClass() - Method in class com.jayway.restassured.internal.mapping.JaxbMapping
 
getMetaClass() - Method in class com.jayway.restassured.internal.mapping.ObjectMapping
 
getMetaClass() - Method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
getMetaClass() - Method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
getMetaClass() - Method in class com.jayway.restassured.internal.MultiPart
 
getMetaClass() - Method in class com.jayway.restassured.internal.NoKeystoreSpecImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.NoParameterValue
 
getMetaClass() - Method in class com.jayway.restassured.internal.path.ObjectConverter
 
getMetaClass() - Method in class com.jayway.restassured.internal.path.xml.NodeBase
 
getMetaClass() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
getMetaClass() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
getMetaClass() - Method in class com.jayway.restassured.internal.PreemptiveAuthSpecImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.RedirectSpecificationImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
getMetaClass() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
getMetaClass() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getMetaClass() - Method in class com.jayway.restassured.internal.SpecificationMerger
 
getMetaClass() - Method in class com.jayway.restassured.internal.support.Prettifier
 
getMetaClass() - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
getMimeType() - Method in class com.jayway.restassured.internal.MultiPart
 
getName() - Method in class com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport
 
getName() - Method in class com.jayway.restassured.internal.MultiPart
 
getName() - Method in interface com.jayway.restassured.internal.NameAndValue
 
getName() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getName() - Method in class com.jayway.restassured.response.Cookie
Returns the name.
getName() - Method in class com.jayway.restassured.response.Header
 
getNode(String) - Method in class com.jayway.restassured.internal.path.xml.NodeBase
 
getNode(String) - Method in interface com.jayway.restassured.path.xml.element.PathElement
Get a Node whose name matches the supplied name from the current XML object.
getNode(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a Node.
getNodeChildren(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a NodeChildren.
getNodeList() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
getNodes(String) - Method in class com.jayway.restassured.internal.path.xml.NodeBase
 
getNodes(String) - Method in interface com.jayway.restassured.path.xml.element.PathElement
Get a list of Node's whose name matches the supplied name from the current XML object.
getNonDefaultParser(String) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
getObject(String, Class<T>) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of a Object path expression as a java Object.
getParams() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
getParser() - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Retrieve the map of registered response content-type parsers.
getParser(String) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
getPassword() - Method in class com.jayway.restassured.authentication.BasicAuthScheme
 
getPassword() - Method in class com.jayway.restassured.authentication.CertAuthScheme
 
getPassword() - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
getPassword() - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
getPassword() - Method in class com.jayway.restassured.internal.KeystoreSpecImpl
 
getPasswordInputTagName() - Method in class com.jayway.restassured.authentication.FormAuthConfig
 
getPath() - Method in class com.jayway.restassured.internal.KeystoreSpecImpl
 
getPath() - Method in class com.jayway.restassured.response.Cookie
Returns the path attribute of the cookie.
getPathParams() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getPathParams() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getPort() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getPort() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getPrettifiedBodyIfPossible(FilterableRequestSpecification) - Method in class com.jayway.restassured.internal.support.Prettifier
 
getPrettifiedBodyIfPossible(Response) - Method in class com.jayway.restassured.internal.support.Prettifier
 
getPrintStream(RequestSpecification) - Method in class com.jayway.restassured.internal.LogSpecificationImpl
 
getProperties() - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
getProperty(String) - Method in class com.jayway.restassured.assertion.AssertionSupport
 
getProperty(String) - Method in class com.jayway.restassured.assertion.AssertParameter
 
getProperty(String) - Method in class com.jayway.restassured.assertion.BodyMatcher
 
getProperty(String) - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
getProperty(String) - Method in class com.jayway.restassured.assertion.CookieMatcher
 
getProperty(String) - Method in class com.jayway.restassured.assertion.HeaderMatcher
 
getProperty(String) - Method in class com.jayway.restassured.assertion.JSONAssertion
 
getProperty(String) - Method in class com.jayway.restassured.assertion.StreamVerifier
 
getProperty(String) - Method in class com.jayway.restassured.assertion.XMLAssertion
 
getProperty(String) - Method in class com.jayway.restassured.assertion.XmlEntity
 
getProperty(String) - Method in class com.jayway.restassured.authentication.BasicAuthScheme
 
getProperty(String) - Method in class com.jayway.restassured.authentication.CertAuthScheme
 
getProperty(String) - Method in class com.jayway.restassured.authentication.ExplicitNoAuthScheme
 
getProperty(String) - Method in class com.jayway.restassured.authentication.FormAuthScheme
 
getProperty(String) - Method in class com.jayway.restassured.authentication.NoAuthScheme
 
getProperty(String) - Method in class com.jayway.restassured.authentication.OAuthScheme
 
getProperty(String) - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
getProperty(String) - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.ContentParser
 
getProperty(String) - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
getProperty(String) - Method in class com.jayway.restassured.internal.filter.RootFilter
 
getProperty(String) - Method in class com.jayway.restassured.internal.http.CharsetExtractor
 
getProperty(String) - Method in class com.jayway.restassured.internal.http.ContentTypeExtractor
 
getProperty(String) - Method in class com.jayway.restassured.internal.KeystoreSpecImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.LogSpecificationImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.MapCreator
 
getProperty(String) - Method in class com.jayway.restassured.internal.mapping.GsonMapping
 
getProperty(String) - Method in class com.jayway.restassured.internal.mapping.JacksonMapping
 
getProperty(String) - Method in class com.jayway.restassured.internal.mapping.JaxbMapping
 
getProperty(String) - Method in class com.jayway.restassured.internal.mapping.ObjectMapping
 
getProperty(String) - Method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
getProperty(String) - Method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
getProperty(String) - Method in class com.jayway.restassured.internal.MultiPart
 
getProperty(String) - Method in class com.jayway.restassured.internal.NoKeystoreSpecImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.NoParameterValue
 
getProperty(String) - Method in class com.jayway.restassured.internal.path.ObjectConverter
 
getProperty(String) - Method in class com.jayway.restassured.internal.path.xml.NodeBase
 
getProperty(String) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
getProperty(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
getProperty(String) - Method in class com.jayway.restassured.internal.PreemptiveAuthSpecImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.RedirectSpecificationImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
getProperty(String) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
getProperty(String) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getProperty(String) - Method in class com.jayway.restassured.internal.SpecificationMerger
 
getProperty(String) - Method in class com.jayway.restassured.internal.support.Prettifier
 
getProperty(String) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
getProtocolVersion() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
getQuery() - Method in class com.jayway.restassured.internal.http.URIBuilder
Get the query string as a map for convenience.
getQueryNVP() - Method in class com.jayway.restassured.internal.http.URIBuilder
 
getQueryParams() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getQueryParams() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getRedirectConfig() - Method in class com.jayway.restassured.config.RestAssuredConfig
 
getRequest() - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Directly access the Apache HttpClient instance that will be used to execute this request.
getRequestContentType() - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
The request content-type, if different from the HTTPBuilder.RequestConfigDelegate.contentType.
getRequestContentType() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getRequestContentType() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getRequestInterceptor() - Method in class com.jayway.restassured.internal.http.ContentEncoding
 
getRequestMethod() - Method in interface com.jayway.restassured.filter.FilterContext
 
getRequestMethod() - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
getRequestParams() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
getRequestParams() - Method in interface com.jayway.restassured.specification.FilterableRequestSpecification
 
getRequestPath() - Method in interface com.jayway.restassured.filter.FilterContext
 
getRequestPath() - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
getRequestSpecification() - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
getRequestType() - Method in enum com.jayway.restassured.internal.http.Method
Get the HttpRequest class that represents this request type.
getResponse() - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Access the response handler map to set response parsing logic.
getResponse() - Method in exception com.jayway.restassured.internal.http.HttpResponseException
 
getResponseContentType() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
getResponseContentType() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
getResponseContentType() - Method in interface com.jayway.restassured.specification.FilterableResponseSpecification
 
getResponseHeaders() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getResponseInterceptor() - Method in class com.jayway.restassured.internal.http.ContentEncoding
 
getResponseSpecification() - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
getResult(Object) - Method in interface com.jayway.restassured.assertion.Assertion
 
getResult(Object) - Method in class com.jayway.restassured.assertion.JSONAssertion
 
getResult(Object) - Method in class com.jayway.restassured.assertion.XMLAssertion
 
getRootPath() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
getRootPath() - Method in interface com.jayway.restassured.specification.FilterableResponseSpecification
 
getRpr() - Method in class com.jayway.restassured.assertion.BodyMatcher
 
getRpr() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getSecretToken() - Method in class com.jayway.restassured.authentication.OAuthScheme
 
getSessionConfig() - Method in class com.jayway.restassured.config.RestAssuredConfig
 
getSessionId() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getSessionId() - Method in interface com.jayway.restassured.response.Response
Get the session id from the response.
getSessionIdName() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getShort(String) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getShort(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a short.
getShort(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a short.
getStatus() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
Get the response status code.
getStatusCode() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
getStatusCode() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getStatusCode() - Method in interface com.jayway.restassured.response.Response
Get the status code of the response.
getStatusCode() - Method in interface com.jayway.restassured.specification.FilterableResponseSpecification
 
getStatusLine() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
getStatusLine() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
getStatusLine() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
getStatusLine() - Method in interface com.jayway.restassured.response.Response
Get the status line of the response.
getStatusLine() - Method in interface com.jayway.restassured.specification.FilterableResponseSpecification
 
getString(String) - Method in class com.jayway.restassured.path.json.JsonPath
Get the result of an Object path expression as a string.
getString(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Get the result of an XML path expression as a string.
getUri() - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Get the default URI used for requests that do not explicitly take a uri param.
getUri() - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Use this object to manipulate parts of the request URI, like query params and request path.
getUserInputTagName() - Method in class com.jayway.restassured.authentication.FormAuthConfig
 
getUserName() - Method in class com.jayway.restassured.authentication.BasicAuthScheme
 
getUserName() - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
getUserName() - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
getValue(String) - Method in interface com.jayway.restassured.filter.FilterContext
Get a value
getValue(String) - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
getValue() - Method in class com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport
 
getValue(String) - Method in class com.jayway.restassured.internal.MultiValueEntity
Get a single entity value with the supplied name.
getValue() - Method in interface com.jayway.restassured.internal.NameAndValue
 
getValue() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
getValue() - Method in class com.jayway.restassured.response.Cookie
Returns the value.
getValue(String) - Method in class com.jayway.restassured.response.Cookies
Get a single cookie value with the supplied name.
getValue() - Method in class com.jayway.restassured.response.Header
 
getValue(String) - Method in class com.jayway.restassured.response.Headers
Get a single header with the supplied name.
getValues(String) - Method in class com.jayway.restassured.internal.MultiValueEntity
Get all entity values of the entity with supplied name.
getValues(String) - Method in class com.jayway.restassured.response.Cookies
Get all cookie values of the cookie with the supplied name.
getValues(String) - Method in class com.jayway.restassured.response.Headers
Get all header values of the header with supplied name.
getVersion() - Method in class com.jayway.restassured.response.Cookie
Gets the version of the cookie protocol this cookie complies with.
getXsd() - Method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
given() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
given() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
given(String) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
given(InputStream) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
given(File) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
given(Reader) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
given(URL) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
given(String) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
given(InputStream) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
given(InputSource) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
given(File) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
given(Reader) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
given(URI) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
given() - Static method in class com.jayway.restassured.RestAssured
Start building the request part of the test com.jayway.restassured.specification.
given(RequestSpecification, ResponseSpecification) - Static method in class com.jayway.restassured.RestAssured
When you have long specifications it can be better to split up the definition of response and request specifications in multiple lines.
given() - Method in interface com.jayway.restassured.specification.RequestSpecification
Syntactic sugar, e.g.
given() - Method in interface com.jayway.restassured.specification.ResponseSpecification
Returns the request com.jayway.restassured.specification so that you can define the properties of the request.
GsonMapping - Class in com.jayway.restassured.internal.mapping
 
GsonMapping() - Constructor for class com.jayway.restassured.internal.mapping.GsonMapping
 
GZIPEncoding - Class in com.jayway.restassured.internal.http
Content encoding used to handle GZIP responses.
GZIPEncoding() - Constructor for class com.jayway.restassured.internal.http.GZIPEncoding
 
GZIPEncoding.GZIPDecompressingEntity - Class in com.jayway.restassured.internal.http
Entity used to interpret a GZIP-encoded response
GZIPEncoding.GZIPDecompressingEntity(HttpEntity) - Constructor for class com.jayway.restassured.internal.http.GZIPEncoding.GZIPDecompressingEntity
 

H

hasAssertionsDefined() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
hasBodyAssertionsDefined() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
hasComment() - Method in class com.jayway.restassured.response.Cookie
 
hasCookieAssertions() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
hasCookieAssertions() - Method in interface com.jayway.restassured.specification.FilterableResponseSpecification
 
hasCookieWithName(String) - Method in class com.jayway.restassured.response.Cookies
See if a cookie with the given name exists
hasCustomParser(String) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
hasCustomParserExludingDefaultParser(String) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
hasDomain() - Method in class com.jayway.restassured.response.Cookie
 
hasEncoding(HttpResponse, String) - Method in class com.jayway.restassured.internal.http.ContentEncoding.ResponseInterceptor
 
hasEntityWithName(String) - Method in class com.jayway.restassured.internal.MultiValueEntity
C See if a entity with the given name exists
hasExpiryDate() - Method in class com.jayway.restassured.response.Cookie
 
hashCode() - Method in class com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport
 
hashCode() - Method in class com.jayway.restassured.response.Cookie
 
hashCode() - Method in class com.jayway.restassured.response.Header
 
hashCode() - Method in class com.jayway.restassured.specification.Argument
 
hasHeaderAssertions() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
hasHeaderAssertions() - Method in interface com.jayway.restassured.specification.FilterableResponseSpecification
 
hasHeaderWithName(String) - Method in class com.jayway.restassured.response.Headers
See if a header with the given name exists
hasMaxAge() - Method in class com.jayway.restassured.response.Cookie
 
hasNext() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
hasNext() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
hasPath() - Method in class com.jayway.restassured.response.Cookie
 
hasQueryParam(String) - Method in class com.jayway.restassured.internal.http.URIBuilder
Indicates if the given parameter is already part of this URI's query string.
hasValue() - Method in class com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport
 
hasValue() - Method in class com.jayway.restassured.response.Cookie
 
hasVersion() - Method in class com.jayway.restassured.response.Cookie
 
head(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
head(String, Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
head(String, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
head(String, Map) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
head(String, Object...) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
head(String, Map) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
head(String, Object...) - Static method in class com.jayway.restassured.RestAssured
Perform a HEAD request to a path.
head(String, Map<String, ?>) - Static method in class com.jayway.restassured.RestAssured
Perform a HEAD request to a path.
head(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSender
Perform a HEAD request to a path.
head(String, Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSender
Perform a HEAD request to a path.
header(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
header(Header) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
header(String, Matcher) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
header(String, String) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
header(String) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
Header - Class in com.jayway.restassured.response
Represents a HTTP header
Header(String, String) - Constructor for class com.jayway.restassured.response.Header
Create a new header with the given name and value.
header(String) - Method in interface com.jayway.restassured.response.Response
Get a single header value associated with the given name.
header(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a header that'll be sent with the request e.g:
header(Header) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a Header to send with the request.
header(String, Matcher<?>) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that a response header matches the supplied header name and hamcrest matcher.
header(String, String) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that a response header matches the supplied name and value.
headerIterator() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
headerIterator(String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
HeaderMatcher - Class in com.jayway.restassured.assertion
 
HeaderMatcher() - Constructor for class com.jayway.restassured.assertion.HeaderMatcher
 
headers() - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
headers(Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
headers(Headers) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
headers(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
headers() - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
headers(Map) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
headers(String, Object, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
headers() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
Headers - Class in com.jayway.restassured.response
Represents the a number of response headers
Headers(Header...) - Constructor for class com.jayway.restassured.response.Headers
 
Headers(List<Header>) - Constructor for class com.jayway.restassured.response.Headers
 
headers(Header, Header...) - Static method in class com.jayway.restassured.response.Headers
An alternative way to create a Headers object from the constructor.
headers() - Method in interface com.jayway.restassured.response.Response
The response headers.
headers() - Method in interface com.jayway.restassured.specification.LogSpecification
Logs only the headers.
headers(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the headers that'll be sent with the request.
headers(Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the headers that'll be sent with the request as Map e.g:
headers(Headers) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the headers that'll be sent with the request as Headers, e.g:
headers(Map<String, ?>) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that response headers matches those specified in a Map.
headers(String, Object, Object...) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that response headers matches the supplied headers and values.
HTTPBuilder - Class in com.jayway.restassured.internal.http
Groovy DSL for easily making HTTP requests, and handling request and response data.
HTTPBuilder(boolean, EncoderConfig) - Constructor for class com.jayway.restassured.internal.http.HTTPBuilder
 
HTTPBuilder(Object, boolean, EncoderConfig) - Constructor for class com.jayway.restassured.internal.http.HTTPBuilder
Give a default URI to be used for all request methods that don't explicitly take a URI parameter.
HTTPBuilder(Object, Object, boolean, EncoderConfig) - Constructor for class com.jayway.restassured.internal.http.HTTPBuilder
Give a default URI to be used for all request methods that don't explicitly take a URI parameter, and a default content-type to be used for request encoding and response parsing.
HTTPBuilder.RequestConfigDelegate - Class in com.jayway.restassured.internal.http
Encloses all properties and method calls used within the HTTPBuilder.request(Object, Method, Object, Closure) 'config' closure argument.
HTTPBuilder.RequestConfigDelegate(HttpRequestBase, Object, Map<?, ?>, Map<?, Closure>) - Constructor for class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
 
HTTPBuilder.RequestConfigDelegate(Map<String, ?>, HttpRequestBase, Closure) - Constructor for class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
 
httpClient(HttpClientConfig) - Method in class com.jayway.restassured.config.RestAssuredConfig
Set the HTTP Client config.
HttpClientConfig - Class in com.jayway.restassured.config
Configure the Apache HTTP Client parameters.
HttpClientConfig() - Constructor for class com.jayway.restassured.config.HttpClientConfig
Creates a new HttpClientConfig instance with the parameter set to .
HttpClientConfig(Map<String, ?>) - Constructor for class com.jayway.restassured.config.HttpClientConfig
Creates a new HttpClientConfig instance with the parameters defined by the httpClientParams.
httpClientConfig() - Static method in class com.jayway.restassured.config.HttpClientConfig
 
HttpContextDecorator - Class in com.jayway.restassured.internal.http
HttpContext stores many transient properties of an HTTP request.
HttpContextDecorator() - Constructor for class com.jayway.restassured.internal.http.HttpContextDecorator
 
HttpContextDecorator(HttpContext) - Constructor for class com.jayway.restassured.internal.http.HttpContextDecorator
 
HttpResponseContentTypeFinder - Class in com.jayway.restassured.internal.http
 
HttpResponseContentTypeFinder() - Constructor for class com.jayway.restassured.internal.http.HttpResponseContentTypeFinder
 
HttpResponseDecorator - Class in com.jayway.restassured.internal.http
This class is a wrapper for HttpResponse, which allows for simplified header access, as well as carrying the auto-parsed response data.
HttpResponseDecorator(HttpResponse, Object) - Constructor for class com.jayway.restassured.internal.http.HttpResponseDecorator
 
HttpResponseDecorator(HttpResponse, HttpContextDecorator, Object) - Constructor for class com.jayway.restassured.internal.http.HttpResponseDecorator
 
HttpResponseDecorator.HeadersDecorator - Class in com.jayway.restassured.internal.http
This class is returned by HttpResponseDecorator.getHeaders().
HttpResponseDecorator.HeadersDecorator() - Constructor for class com.jayway.restassured.internal.http.HttpResponseDecorator.HeadersDecorator
 
HttpResponseException - Exception in com.jayway.restassured.internal.http
Wraps an error response in an exception for flow control purposes.
HttpResponseException(HttpResponseDecorator) - Constructor for exception com.jayway.restassured.internal.http.HttpResponseException
 

I

ifError() - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
ifError() - Method in interface com.jayway.restassured.specification.ResponseLogSpecification
Logs everything only if an error occurs (status code >= 400).
ifStatusCodeIsEqualTo(int) - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
ifStatusCodeIsEqualTo(int) - Method in interface com.jayway.restassured.specification.ResponseLogSpecification
Logs everything only if if the status code is equal to statusCode.
ifStatusCodeMatches(Matcher<Integer>) - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
ifStatusCodeMatches(Matcher<Integer>) - Method in interface com.jayway.restassured.specification.ResponseLogSpecification
Logs everything only if if the status code matches the supplied matcher
integer() - Static method in class com.jayway.restassured.assertion.AssertionSupport
 
invokeFilterChain(Object, Object, Object) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.assertion.AssertionSupport
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.assertion.AssertParameter
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.assertion.BodyMatcher
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.assertion.CookieMatcher
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.assertion.HeaderMatcher
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.assertion.JSONAssertion
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.assertion.StreamVerifier
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.assertion.XMLAssertion
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.assertion.XmlEntity
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.authentication.BasicAuthScheme
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.authentication.CertAuthScheme
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.authentication.ExplicitNoAuthScheme
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.authentication.FormAuthScheme
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.authentication.NoAuthScheme
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.authentication.OAuthScheme
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.ContentParser
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.filter.RootFilter
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.http.CharsetExtractor
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.http.ContentTypeExtractor
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.KeystoreSpecImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.LogSpecificationImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.MapCreator
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.mapping.GsonMapping
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.mapping.JacksonMapping
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.mapping.JaxbMapping
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.mapping.ObjectMapping
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.MultiPart
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.NoKeystoreSpecImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.NoParameterValue
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.path.ObjectConverter
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.path.xml.NodeBase
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.PreemptiveAuthSpecImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.RedirectSpecificationImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.SpecificationMerger
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.support.Prettifier
 
invokeMethod(String, Object) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
isEmpty() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
isEmpty() - Method in interface com.jayway.restassured.path.xml.element.NodeChildren
 
isFulfilled(Response, Object) - Method in class com.jayway.restassured.assertion.BodyMatcher
 
isFulfilled(Response, Object) - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
isHasExpectations() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
isPathFragment(String) - Method in class com.jayway.restassured.assertion.XMLAssertion
 
isPrettyPrintingEnabled() - Method in class com.jayway.restassured.config.LogConfig
 
isSecured() - Method in class com.jayway.restassured.response.Cookie
Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL.
isSessionIdValueDefined() - Method in class com.jayway.restassured.config.SessionConfig
 
isSuccess() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
Quickly determine if the request resulted in an error code.
iterator() - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Iterate over the entire parser map
iterator() - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator.HeadersDecorator
Used to allow Groovy iteration methods over the response headers.
iterator() - Method in class com.jayway.restassured.internal.MultiValueEntity
 
iterator() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
iterator() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
iterator() - Method in class com.jayway.restassured.response.Cookies
 
iterator() - Method in class com.jayway.restassured.response.Headers
 

J

JacksonMapping - Class in com.jayway.restassured.internal.mapping
 
JacksonMapping() - Constructor for class com.jayway.restassured.internal.mapping.JacksonMapping
 
JaxbMapping - Class in com.jayway.restassured.internal.mapping
 
JaxbMapping() - Constructor for class com.jayway.restassured.internal.mapping.JaxbMapping
 
JSONAssertion - Class in com.jayway.restassured.assertion
 
JSONAssertion() - Constructor for class com.jayway.restassured.assertion.JSONAssertion
 
jsonPath() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
JsonPath - Class in com.jayway.restassured.path.json
JsonPath is an alternative to using XPath for easily getting values from a Object document.
JsonPath(String) - Constructor for class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
JsonPath(URL) - Constructor for class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
JsonPath(InputStream) - Constructor for class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
JsonPath(File) - Constructor for class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
JsonPath(Reader) - Constructor for class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
jsonPath() - Method in interface com.jayway.restassured.response.ResponseBody
Get a JsonPath view of the response body.

K

keystore(File, String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
keystore(String, String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
keystore(String, String) - Static method in class com.jayway.restassured.RestAssured
The following documentation is taken from http://groovy.codehaus.org/modules/http-builder/doc/ssl.html:
keystore(File, String) - Static method in class com.jayway.restassured.RestAssured
Use a keystore located on the file-system.
keystore(String) - Static method in class com.jayway.restassured.RestAssured
Uses the user default keystore stored in @{user.home}/.keystore
keystore() - Static method in class com.jayway.restassured.RestAssured
 
keystore(String, String) - Method in interface com.jayway.restassured.specification.RequestSpecification
The following documentation is taken from http://groovy.codehaus.org/modules/http-builder/doc/ssl.html:
keystore(File, String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Use a keystore located on the file-system.
KeystoreSpec - Interface in com.jayway.restassured.internal
The key store specification
KeystoreSpecImpl - Class in com.jayway.restassured.internal
 
KeystoreSpecImpl() - Constructor for class com.jayway.restassured.internal.KeystoreSpecImpl
 

L

leftShift(Object) - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
leftShift(Node) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
list() - Method in class com.jayway.restassured.internal.MultiValueEntity
 
list() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
list() - Method in interface com.jayway.restassured.path.xml.element.NodeChildren
 
list() - Method in class com.jayway.restassured.response.Cookies
 
list() - Method in class com.jayway.restassured.response.Headers
 
log - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
log() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
log() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
log() - Method in interface com.jayway.restassured.specification.RequestSpecification
Returns the RequestLogSpecification that allows you to log different parts of the RequestSpecification.
log() - Method in interface com.jayway.restassured.specification.ResponseSpecification
Returns the ResponseLogSpecification that allows you to log different parts of the ResponseSpecification.
LogConfig - Class in com.jayway.restassured.config
Configure the logging for REST Assured.
LogConfig() - Constructor for class com.jayway.restassured.config.LogConfig
Configure the default stream to use the System.out stream (default).
LogConfig(PrintStream, boolean) - Constructor for class com.jayway.restassured.config.LogConfig
Configure pretty printing and the default stream where logs should be written if not specified explicitly by a filter.
logConfig() - Static method in class com.jayway.restassured.config.LogConfig
 
logConfig(LogConfig) - Method in class com.jayway.restassured.config.RestAssuredConfig
Set the Log config.
LogDetail - Enum in com.jayway.restassured.filter.log
The different log details.
logErrorsTo(PrintStream) - Static method in class com.jayway.restassured.filter.log.ErrorLoggingFilter
Create a new error logging filter without using the "new" operator.
logResponseIfStatusCodeIs(int) - Static method in class com.jayway.restassured.filter.log.ResponseLoggingFilter
Create a new logging filter without using the "new" operator.
logResponseIfStatusCodeMatches(Matcher<Integer>) - Static method in class com.jayway.restassured.filter.log.ResponseLoggingFilter
Create a new logging filter without using the "new" operator.
logResponseTo(PrintStream) - Static method in class com.jayway.restassured.filter.log.ResponseLoggingFilter
Create a new logging filter without using the "new" operator.
logResponseTo(PrintStream, LogDetail) - Static method in class com.jayway.restassured.filter.log.ResponseLoggingFilter
Create a new logging filter without using the "new" operator.
logResponseToIfMatches(PrintStream, Matcher<Integer>) - Static method in class com.jayway.restassured.filter.log.ResponseLoggingFilter
Create a new logging filter without using the "new" operator.
LogSpecification<T extends RequestSender> - Interface in com.jayway.restassured.specification
Base interface for request- and response log specifications.
LogSpecificationImpl - Class in com.jayway.restassured.internal
 
LogSpecificationImpl() - Constructor for class com.jayway.restassured.internal.LogSpecificationImpl
 

M

MapCreator - Class in com.jayway.restassured.internal
 
MapCreator() - Constructor for class com.jayway.restassured.internal.MapCreator
 
mark(int) - Method in class com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper
 
markSupported() - Method in class com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper
 
matches(int) - Method in enum com.jayway.restassured.internal.http.Status
Returns true if the numeric code matches the represented status (either success or failure).
matches(Object) - Method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
matches(Object) - Method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
matchesDtd(String) - Static method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
matchesDtd(InputStream) - Static method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
matchesDtd(File) - Static method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
matchesDtd(URL) - Static method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
matchesDtd(String) - Static method in class com.jayway.restassured.matcher.RestAssuredMatchers
Evaluates to true if an XML string matches the supplied DTD.
matchesDtd(InputStream) - Static method in class com.jayway.restassured.matcher.RestAssuredMatchers
Evaluates to true if an XML string matches the supplied DTD.
matchesDtd(File) - Static method in class com.jayway.restassured.matcher.RestAssuredMatchers
Evaluates to true if an XML string matches the supplied DTD.
matchesDtd(URL) - Static method in class com.jayway.restassured.matcher.RestAssuredMatchers
Evaluates to true if an XML string matches the supplied DTD.
matchesXsd(String) - Static method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
matchesXsd(InputStream) - Static method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
matchesXsd(Reader) - Static method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
matchesXsd(File) - Static method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
matchesXsd(URL) - Static method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
matchesXsd(String) - Static method in class com.jayway.restassured.matcher.RestAssuredMatchers
Evaluates to true if an XML string matches the supplied XSD (Xml Schema).
matchesXsd(InputStream) - Static method in class com.jayway.restassured.matcher.RestAssuredMatchers
Evaluates to true if an XML string matches the supplied XSD (Xml Schema).
matchesXsd(Reader) - Static method in class com.jayway.restassured.matcher.RestAssuredMatchers
Evaluates to true if an XML string matches the supplied XSD (Xml Schema).
matchesXsd(File) - Static method in class com.jayway.restassured.matcher.RestAssuredMatchers
Evaluates to true if an XML string matches the supplied XSD (Xml Schema).
max(int) - Method in class com.jayway.restassured.internal.RedirectSpecificationImpl
 
max(int) - Method in interface com.jayway.restassured.specification.RedirectSpecification
Limit the number of redirects to prevent infinite loops.
MAX_AGE - Static variable in class com.jayway.restassured.response.Cookie
 
maxRedirects(int) - Method in class com.jayway.restassured.config.RedirectConfig
Configure the maximum number of redirects.
maxRedirects() - Method in class com.jayway.restassured.config.RedirectConfig
 
merge(ResponseSpecificationImpl, ResponseSpecificationImpl) - Static method in class com.jayway.restassured.internal.SpecificationMerger
 
merge(RequestSpecificationImpl, RequestSpecificationImpl) - Static method in class com.jayway.restassured.internal.SpecificationMerger
 
Method - Enum in com.jayway.restassured.internal.http
Enumeration of valid HTTP methods that may be used in REST Assured.
minus() - Static method in class com.jayway.restassured.assertion.AssertionSupport
 
MultiPart - Class in com.jayway.restassured.internal
 
MultiPart() - Constructor for class com.jayway.restassured.internal.MultiPart
 
multiPart(String, File) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(File) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(String, File, String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(String, Object) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(String, Object, String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(String, String, byte...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(String, String, byte[], String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(String, String, InputStream) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(String, String, InputStream, String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(String, String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(String, NoParameterValue) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(String, String, String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
multiPart(File) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a file to upload to the server using multi-part form data uploading.
multiPart(String, File) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a file to upload to the server using multi-part form data uploading with a specific control name.
multiPart(String, File, String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a file to upload to the server using multi-part form data uploading with a specific control name and mime-type.
multiPart(String, Object) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify an object that will be serialized to JSON and uploaded to the server using multi-part form data uploading with a specific control name.
multiPart(String, Object, String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify an object that will be serialized and uploaded to the server using multi-part form data uploading with a specific control name.
multiPart(String, String, byte[]) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a byte-array to upload to the server using multi-part form data.
multiPart(String, String, byte[], String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a byte-array to upload to the server using multi-part form data.
multiPart(String, String, InputStream) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify an inputstream to upload to the server using multi-part form data.
multiPart(String, String, InputStream, String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify an inputstream to upload to the server using multi-part form data.
multiPart(String, String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a string to send to the server using multi-part form data.
multiPart(String, String, String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a string to send to the server using multi-part form data with a specific mime-type.
MultiValueEntity<T extends NameAndValue> - Class in com.jayway.restassured.internal
 
MultiValueEntity(List<T>) - Constructor for class com.jayway.restassured.internal.MultiValueEntity
 

N

name() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
name() - Method in interface com.jayway.restassured.path.xml.element.Node
The name of the node
NameAndValue - Interface in com.jayway.restassured.internal
Interface that returns a name and a value
newAssertion(Response, Object, ResponseParserRegistrar) - Static method in class com.jayway.restassured.assertion.StreamVerifier
 
newConfig() - Static method in class com.jayway.restassured.config.RestAssuredConfig
 
next(FilterableRequestSpecification, FilterableResponseSpecification) - Method in interface com.jayway.restassured.filter.FilterContext
Continue to the next filter in the chain.
next(FilterableRequestSpecification, FilterableResponseSpecification) - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
next() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
next() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
NoAuthScheme - Class in com.jayway.restassured.authentication
 
NoAuthScheme() - Constructor for class com.jayway.restassured.authentication.NoAuthScheme
 
Node - Interface in com.jayway.restassured.path.xml.element
A Node represents a single node in a XML document.
NodeBase - Class in com.jayway.restassured.internal.path.xml
 
NodeBase() - Constructor for class com.jayway.restassured.internal.path.xml.NodeBase
 
NodeChildren - Interface in com.jayway.restassured.path.xml.element
Represent the children of a Node in an XML document.
NodeChildrenImpl - Class in com.jayway.restassured.internal.path.xml
 
NodeChildrenImpl() - Constructor for class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
NodeChildrenImpl.NodeListIterator - Class in com.jayway.restassured.internal.path.xml
 
NodeChildrenImpl.NodeListIterator() - Constructor for class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
NodeImpl - Class in com.jayway.restassured.internal.path.xml
 
NodeImpl() - Constructor for class com.jayway.restassured.internal.path.xml.NodeImpl
 
NodeImpl.ValueIterator - Class in com.jayway.restassured.internal.path.xml
 
NodeImpl.ValueIterator() - Constructor for class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
nodeIterable() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
nodeIterable() - Method in interface com.jayway.restassured.path.xml.element.NodeChildren
 
nodeIterator() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
nodeIterator() - Method in interface com.jayway.restassured.path.xml.element.NodeChildren
 
noFilters() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
noFilters() - Method in interface com.jayway.restassured.specification.RequestSpecification
Remove all applied filters
noFiltersOfType(Class<T>) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
noFiltersOfType(Class<T>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Remove all applied filters
NoKeystoreSpecImpl - Class in com.jayway.restassured.internal
 
NoKeystoreSpecImpl() - Constructor for class com.jayway.restassured.internal.NoKeystoreSpecImpl
 
none() - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
none() - Method in interface com.jayway.restassured.specification.AuthenticationSpecification
Explicitly state that you don't which to use any authentication in this request.
NoParameterValue - Class in com.jayway.restassured.internal
 
NoParameterValue() - Constructor for class com.jayway.restassured.internal.NoParameterValue
 
notNull(Object, String) - Static method in class com.jayway.restassured.assertion.AssertParameter
 

O

oauth(String, String, String, String) - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
oauth(String, String, String, String) - Method in class com.jayway.restassured.internal.http.AuthConfig
OAuth sign all requests.
oauth(String, String, String, String) - Static method in class com.jayway.restassured.RestAssured
Excerpt from the HttpBuilder docs:
OAuth sign the request.
oauth(String, String, String, String) - Method in interface com.jayway.restassured.specification.AuthenticationSpecification
Excerpt from the HttpBuilder docs:
OAuth sign the request.
OAuthScheme - Class in com.jayway.restassured.authentication
 
OAuthScheme() - Constructor for class com.jayway.restassured.authentication.OAuthScheme
 
ObjectConverter - Class in com.jayway.restassured.internal.path
 
ObjectConverter() - Constructor for class com.jayway.restassured.internal.path.ObjectConverter
 
ObjectMapper - Enum in com.jayway.restassured.mapper
The different object mappers that can be used with REST Assured
ObjectMapping - Class in com.jayway.restassured.internal.mapping
 
ObjectMapping() - Constructor for class com.jayway.restassured.internal.mapping.ObjectMapping
 

P

param(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
param(String, Collection<?>) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
param(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.parameter(String, Object...).
param(String, Collection<?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of #parameter(String, java.util.Collection }.
parameter(String, Collection<?>) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
parameter(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
parameter(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a parameter that'll be sent with the request e.g:
parameter(String, Collection<?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a multi-value parameter that'll be sent with the request e.g:
parameters() - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
parameters(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
parameters(Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
parameters() - Method in interface com.jayway.restassured.specification.RequestLogSpecification
Logs only the parameters of the request.
parameters(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the parameters that'll be sent with the request.
parameters(Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the parameters that'll be sent with the request as Map e.g:
params() - Method in class com.jayway.restassured.config.HttpClientConfig
 
params() - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
params(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
params(Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
params() - Method in interface com.jayway.restassured.specification.RequestLogSpecification
Logs only the parameters of the request.
params(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.parameters(String, Object, Object...)
params(Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.parameters(Map).
parse(Response, ResponseParserRegistrar) - Method in class com.jayway.restassured.internal.ContentParser
 
parseContentType(Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
parseCookies() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
parseHeaders(Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
ParsePathException - Exception in com.jayway.restassured.exception
 
ParsePathException(String, Throwable) - Constructor for exception com.jayway.restassured.exception.ParsePathException
 
parser(String, Parser) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
Parser - Enum in com.jayway.restassured.parsing
The different parsers that are provided by REST Assured.
parser(String, Parser) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Register a content-type to be parsed using a predefined parser.
parseResponse(HttpResponse, Object) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Parse the response data based on the given content-type.
parseResponse(Object, Object, Object, ResponseParserRegistrar) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
parsers - Variable in class com.jayway.restassured.internal.http.HTTPBuilder
 
parseStatus(Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
parseWithJackson(Object, String, Class) - Static method in class com.jayway.restassured.internal.mapping.ObjectMapping
 
path(String) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
PATH - Static variable in class com.jayway.restassured.response.Cookie
 
path(String) - Method in interface com.jayway.restassured.response.ResponseBody
Get a value from the response body using the JsonPath or XmlPath syntax.
PathElement - Interface in com.jayway.restassured.path.xml.element
Base object for all XML objects.
pathParam(String, Object) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
pathParam(String, Object) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.pathParameter(String, Object).
pathParameter(String, Object) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
pathParameter(String, Object) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a path parameter.
pathParameters(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
pathParameters(Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
pathParameters(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify multiple path parameter name-value pairs.
pathParameters(Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify multiple path parameter name-value pairs.
pathParams(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
pathParams(Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
pathParams(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.pathParameters(String, Object, Object...).
pathParams(Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.pathParameters(java.util.Map).
port(int) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
port - Static variable in class com.jayway.restassured.RestAssured
The port that's used by REST assured when it's left out of the specified URI when making a request.
port(int) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the port of the URI.
post(Map<String, ?>) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Convenience method to perform an HTTP POST.
post(Map<String, ?>, Closure) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Convenience method to perform an HTTP form POST.
post(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
post(String, Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
post(String, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
post(String, Map) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
post(String, Object...) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
post(String, Map) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
post(String, Object...) - Static method in class com.jayway.restassured.RestAssured
Perform a POST request to a path.
post(String, Map<String, ?>) - Static method in class com.jayway.restassured.RestAssured
Perform a POST request to a path.
post(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSender
Perform a POST request to a path.
post(String, Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSender
Perform a POST request to a path.
preemptive() - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
preemptive() - Static method in class com.jayway.restassured.RestAssured
Return the http preemptive authentication specification for setting up preemptive authentication requests.
preemptive() - Method in interface com.jayway.restassured.specification.AuthenticationSpecification
Returns the preemptive authentication view.
PreemptiveAuthProvider - Class in com.jayway.restassured.authentication
 
PreemptiveAuthProvider() - Constructor for class com.jayway.restassured.authentication.PreemptiveAuthProvider
 
PreemptiveAuthSpec - Interface in com.jayway.restassured.specification
Specify a preemptive authentication scheme to use when sending a request.
PreemptiveAuthSpecImpl - Class in com.jayway.restassured.internal
 
PreemptiveAuthSpecImpl(RequestSpecification) - Constructor for class com.jayway.restassured.internal.PreemptiveAuthSpecImpl
 
PreemptiveBasicAuthScheme - Class in com.jayway.restassured.authentication
 
PreemptiveBasicAuthScheme() - Constructor for class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
Prettifier - Class in com.jayway.restassured.internal.support
 
Prettifier() - Constructor for class com.jayway.restassured.internal.support.Prettifier
 
prettify(String, Parser) - Method in class com.jayway.restassured.internal.support.Prettifier
 
prettify(GPathResult) - Method in class com.jayway.restassured.internal.support.Prettifier
 
prettify() - Method in class com.jayway.restassured.path.json.JsonPath
Get the XML as a prettified string.
prettify() - Method in class com.jayway.restassured.path.xml.XmlPath
Get the XML as a prettified string.
prettyPrint() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
prettyPrint() - Method in class com.jayway.restassured.path.json.JsonPath
Get and print the XML as a prettified string.
prettyPrint() - Method in class com.jayway.restassured.path.xml.XmlPath
Get and print the XML as a prettified string.
prettyPrint() - Method in interface com.jayway.restassured.response.ResponseBody
Pretty-print the response body if possible and return it as string.
print() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
print() - Method in interface com.jayway.restassured.response.ResponseBody
Print the response body and return it as string.
process(HttpRequest, HttpContext) - Method in class com.jayway.restassured.internal.http.ContentEncoding.RequestInterceptor
 
process(HttpResponse, HttpContext) - Method in class com.jayway.restassured.internal.http.ContentEncoding.ResponseInterceptor
 
propertyMissing(Object) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Alias for EncoderRegistry.getAt(Object) to allow property-style access.
propertyMissing(Object, Closure) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Alias for EncoderRegistry.putAt(Object, Closure) to allow property-style access.
propertyMissing(String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator.HeadersDecorator
Allow property-style access to header values.
put(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
put(String, Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
put(String, Object...) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
put(String, Map) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
put(String, Object...) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
put(String, Map) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
put(String, Object...) - Static method in class com.jayway.restassured.RestAssured
Perform a PUT request to a path.
put(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSender
Perform a PUT request to a path.
put(String, Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSender
Perform a PUT request to a path.
putAt(Object, Closure) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Register a new encoder for the given content type.

Q

queryParam(String, Collection<?>) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
queryParam(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
queryParam(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.queryParameter(String, Object...).
queryParam(String, Collection<?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of #queryParameter(String, java.util.Collection.
queryParameter(String, Collection<?>) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
queryParameter(String, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
queryParameter(String, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a query parameter that'll be sent with the request.
queryParameter(String, Collection<?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify a multi-value query parameter that'll be sent with the request e.g:
queryParameters(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
queryParameters(Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
queryParameters(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the query parameters that'll be sent with the request.
queryParameters(Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the query parameters that'll be sent with the request.
queryParams(String, Object, Object...) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
queryParams(Map) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
queryParams(String, Object, Object...) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.queryParameters(String, Object, Object...).
queryParams(Map<String, ?>) - Method in interface com.jayway.restassured.specification.RequestSpecification
A slightly shorter version of RequestSpecification.queryParams(java.util.Map).

R

read() - Method in class com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper
 
read(byte[]) - Method in class com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper
 
read(byte[], int, int) - Method in class com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper
 
redirect(RedirectConfig) - Method in class com.jayway.restassured.config.RestAssuredConfig
Set the redirect config.
RedirectConfig - Class in com.jayway.restassured.config
Configures the redirect settings that can be used with RestAssured.
RedirectConfig() - Constructor for class com.jayway.restassured.config.RedirectConfig
Create a new RedirectConfig instance with the following configuration by default: followRedirects = true allowCircularRedirects = false rejectRelativeRedirect = false maxRedirects = 100
RedirectConfig(boolean, boolean, boolean, int) - Constructor for class com.jayway.restassured.config.RedirectConfig
Create a new instance of a RedirectConfig with the supplied settings.
redirectConfig() - Static method in class com.jayway.restassured.config.RedirectConfig
 
redirects() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
redirects() - Method in interface com.jayway.restassured.specification.RequestSpecification
Specify the redirect configuration for this request.
RedirectSpecification - Interface in com.jayway.restassured.specification
Specify how redirects should behave.
RedirectSpecificationImpl - Class in com.jayway.restassured.internal
 
RedirectSpecificationImpl(RequestSpecification, Map) - Constructor for class com.jayway.restassured.internal.RedirectSpecificationImpl
 
registerDefaultParser(Parser) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
registerParser(String, Parser) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Register a content-type to be parsed using a predefined parser.
registerParser(String, Parser) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
registerParser(String, Parser) - Static method in class com.jayway.restassured.RestAssured
Register a custom content-type to be parsed using a predefined parser.
rejectRelative(boolean) - Method in class com.jayway.restassured.internal.RedirectSpecificationImpl
 
rejectRelative(boolean) - Method in interface com.jayway.restassured.specification.RedirectSpecification
Defines whether relative redirects should be allowed.
rejectRelativeRedirect(boolean) - Method in class com.jayway.restassured.config.RedirectConfig
Configure if REST Assured should reject relative redirects
rejectRelativeRedirects() - Method in class com.jayway.restassured.config.RedirectConfig
 
remove() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
remove() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
removeAttribute(String) - Method in class com.jayway.restassured.internal.http.HttpContextDecorator
 
removeHeader(Header) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
removeHeaders(String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
removeQueryParam(String) - Method in class com.jayway.restassured.internal.http.URIBuilder
Remove the given query parameter from this URI's query string.
request(Method, Closure) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Make an HTTP request to the default URI, and parse using the default content-type.
request(Method, Object, Closure) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Make an HTTP request using the default URI, with the given method, content-type, and configuration.
request(Object, Method, Object, Closure) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Make a request for the given HTTP method and content-type, with additional options configured in the configClosure.
request() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
request() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
request() - Method in interface com.jayway.restassured.specification.RequestSpecification
Syntactic sugar, e.g.
request() - Method in interface com.jayway.restassured.specification.ResponseSpecification
Returns the request com.jayway.restassured.specification so that you can define the properties of the request.
requestContentType() - Static method in class com.jayway.restassured.RestAssured
 
requestContentType(ContentType) - Static method in class com.jayway.restassured.RestAssured
Specify the default content type
requestContentType(String) - Static method in class com.jayway.restassured.RestAssured
Specify the default content type
RequestLoggingFilter - Class in com.jayway.restassured.filter.log
Will log the request before it's passed to HTTP Builder.
RequestLoggingFilter() - Constructor for class com.jayway.restassured.filter.log.RequestLoggingFilter
Logs to System.out
RequestLoggingFilter(LogDetail) - Constructor for class com.jayway.restassured.filter.log.RequestLoggingFilter
Logs with a specific detail to System.out
RequestLoggingFilter(PrintStream) - Constructor for class com.jayway.restassured.filter.log.RequestLoggingFilter
Logs everyting to the specified printstream.
RequestLoggingFilter(LogDetail, PrintStream) - Constructor for class com.jayway.restassured.filter.log.RequestLoggingFilter
Instantiate a logger using a specific print stream and a specific log detail.
RequestLoggingFilter(LogDetail, boolean, PrintStream) - Constructor for class com.jayway.restassured.filter.log.RequestLoggingFilter
Instantiate a logger using a specific print stream and a specific log detail
RequestLogSpecification - Interface in com.jayway.restassured.specification
The request logging specification
RequestLogSpecificationImpl - Class in com.jayway.restassured.internal
 
RequestLogSpecificationImpl() - Constructor for class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
RequestSender - Interface in com.jayway.restassured.specification
 
RequestSpecBuilder - Class in com.jayway.restassured.builder
You can use the builder to construct a request specification.
RequestSpecBuilder() - Constructor for class com.jayway.restassured.builder.RequestSpecBuilder
 
requestSpecification - Static variable in class com.jayway.restassured.RestAssured
Specify a default request specification that will be sent with each request.
RequestSpecification - Interface in com.jayway.restassured.specification
Allows you to specify how the request will look like.
RequestSpecificationImpl - Class in com.jayway.restassured.internal
 
RequestSpecificationImpl(String, int, String, AuthenticationScheme, List<Filter>, KeystoreSpec, Object, RequestSpecification, boolean, RestAssuredConfig) - Constructor for class com.jayway.restassured.internal.RequestSpecificationImpl
 
requiresTextParsing() - Method in class com.jayway.restassured.assertion.BodyMatcher
 
requiresTextParsing() - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
reset() - Method in class com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper
 
reset() - Static method in class com.jayway.restassured.RestAssured
Resets the RestAssured.baseURI, RestAssured.basePath, RestAssured.port, RestAssured.authentication and RestAssured.rootPath, RestAssured.requestContentType(com.jayway.restassured.http.ContentType), RestAssured.responseContentType(com.jayway.restassured.http.ContentType), RestAssured.filters(java.util.List), RestAssured.requestSpecification, RestAssured.responseSpecification.
response() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
response() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
Response - Interface in com.jayway.restassured.response
The response of a request made by REST Assured.
response() - Method in interface com.jayway.restassured.specification.RequestSpecification
Returns the response specification so that you can setup the expectations on the response.
response() - Method in interface com.jayway.restassured.specification.ResponseSpecification
Syntactic sugar, e.g.
ResponseBody - Interface in com.jayway.restassured.response
 
ResponseBuilder - Class in com.jayway.restassured.builder
A builder to make it easier to create new Response implementations.
ResponseBuilder() - Constructor for class com.jayway.restassured.builder.ResponseBuilder
 
responseContentType() - Static method in class com.jayway.restassured.RestAssured
 
responseContentType(ContentType) - Static method in class com.jayway.restassured.RestAssured
Specify the default content type (also sets the accept header).
responseContentType(String) - Static method in class com.jayway.restassured.RestAssured
Specify the default content type (also sets the accept header).
responseLogger() - Static method in class com.jayway.restassured.filter.log.ResponseLoggingFilter
Create a new logging filter without using the "new" operator.
ResponseLoggingFilter - Class in com.jayway.restassured.filter.log
A filter that'll print the response body if the response matches a given status code.
ResponseLoggingFilter() - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Log to system out for all status codes
ResponseLoggingFilter(int) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Log to system out if response status code matches the given status code.
ResponseLoggingFilter(Matcher<Integer>) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Log to system out if response status code matches the given hamcrest matcher.
ResponseLoggingFilter(LogDetail) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Instantiate a logger using the supplied log detail.
ResponseLoggingFilter(PrintStream) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Instantiate a logger using a specific print stream for all status codes
ResponseLoggingFilter(LogDetail, PrintStream) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Instantiate a logger using a specific print stream for all status codes
ResponseLoggingFilter(LogDetail, boolean, PrintStream) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Instantiate a logger using a specific print stream for all status codes
ResponseLoggingFilter(PrintStream, int) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Instantiate a logger using a specific print stream for status codes matching the supplied status code.
ResponseLoggingFilter(PrintStream, Matcher<Integer>) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Instantiate a logger using a specific print stream for status codes matching the supplied status code.
ResponseLoggingFilter(LogDetail, PrintStream, int) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Instantiate a logger using a specific print stream for status codes matching the supplied status code.
ResponseLoggingFilter(LogDetail, PrintStream, Matcher<Integer>) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Instantiate a logger using a specific print stream for status codes matching the supplied matcher.
ResponseLoggingFilter(LogDetail, boolean, PrintStream, int) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Instantiate a logger using a specific print stream for status codes matching the supplied status code.
ResponseLoggingFilter(LogDetail, boolean, PrintStream, Matcher<Integer>) - Constructor for class com.jayway.restassured.filter.log.ResponseLoggingFilter
Instantiate a logger using a specific print stream for status codes matching the supplied matcher.
ResponseLogSpecification - Interface in com.jayway.restassured.specification
The response logging specification
ResponseLogSpecificationImpl - Class in com.jayway.restassured.internal
 
ResponseLogSpecificationImpl() - Constructor for class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
ResponseParseException - Exception in com.jayway.restassured.internal.http
Thrown when a response body is parsed unsuccessfully.
ResponseParseException(HttpResponseDecorator, Throwable) - Constructor for exception com.jayway.restassured.internal.http.ResponseParseException
 
ResponseParserRegistrar - Class in com.jayway.restassured.internal
 
ResponseParserRegistrar() - Constructor for class com.jayway.restassured.internal.ResponseParserRegistrar
 
ResponseParserRegistrar(ResponseParserRegistrar) - Constructor for class com.jayway.restassured.internal.ResponseParserRegistrar
 
ResponseSpecBuilder - Class in com.jayway.restassured.builder
You can use the builder to construct a response specification.
ResponseSpecBuilder() - Constructor for class com.jayway.restassured.builder.ResponseSpecBuilder
 
responseSpecification - Static variable in class com.jayway.restassured.RestAssured
Specify a default response specification that will be sent with each request.
ResponseSpecification - Interface in com.jayway.restassured.specification
Allows you to specify how the expected response must look like in order for a test to pass.
ResponseSpecificationImpl - Class in com.jayway.restassured.internal
 
ResponseSpecificationImpl(String, Object, ResponseSpecification, ResponseParserRegistrar) - Constructor for class com.jayway.restassured.internal.ResponseSpecificationImpl
 
ResponseSpecificationImpl.HamcrestAssertionClosure - Class in com.jayway.restassured.internal
 
ResponseSpecificationImpl.HamcrestAssertionClosure() - Constructor for class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
RestAssured - Class in com.jayway.restassured
REST Assured is a Java DSL for simplifying testing of REST based services built on top of HTTP Builder.
RestAssured() - Constructor for class com.jayway.restassured.RestAssured
 
RestAssuredConfig - Class in com.jayway.restassured.config
Main configuration for REST Assured that allows you to configure advanced redirection setting and HTTP Client parameters.
RestAssuredConfig() - Constructor for class com.jayway.restassured.config.RestAssuredConfig
Create a new RestAssuredConfiguration with the default RedirectConfig and a default HttpClientConfig.
RestAssuredConfig(RedirectConfig, HttpClientConfig, LogConfig, EncoderConfig, DecoderConfig, SessionConfig) - Constructor for class com.jayway.restassured.config.RestAssuredConfig
Create a new RestAssuredConfiguration with the supplied RedirectConfig, HttpClientConfig, LogConfig, EncoderConfig, DecoderConfig and SessionConfig.
RestAssuredMatchers - Class in com.jayway.restassured.matcher
Providers Hamcrest matchers that may be useful when validating a response.
RestAssuredMatchers() - Constructor for class com.jayway.restassured.matcher.RestAssuredMatchers
 
RestAssuredResponseImpl - Class in com.jayway.restassured.internal
 
RestAssuredResponseImpl() - Constructor for class com.jayway.restassured.internal.RestAssuredResponseImpl
 
root(String) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
root(String, List<Argument>) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
root(String, List<Argument>) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Set the root path with arguments of the response body so that you don't need to write the entire path for each expectation.
root(String) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Set the root path of the response body so that you don't need to write the entire path for each expectation.
RootFilter - Class in com.jayway.restassured.internal.filter
 
RootFilter() - Constructor for class com.jayway.restassured.internal.filter.RootFilter
 
rootPath(String) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Set the root path of the response body so that you don't need to write the entire path for each expectation.
rootPath(String, List<Argument>) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Set the root path of the response body so that you don't need to write the entire path for each expectation.
rootPath(String) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
rootPath(String, List<Argument>) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
rootPath - Static variable in class com.jayway.restassured.RestAssured
Set the default root path of the response body so that you don't need to write the entire path for each expectation.
rootPath(String) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Set the root path of the response body so that you don't need to write the entire path for each expectation.
rootPath(String, List<Argument>) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Set the root path with arguments of the response body so that you don't need to write the entire path for each expectation.

S

SECURE - Static variable in class com.jayway.restassured.response.Cookie
 
send(RequestSender) - Method in interface com.jayway.restassured.filter.FilterContext
Send a request to the same request path and with the same request method as the original request.
send(RequestSender) - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
send(Object, Object) - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Convenience method to set a request content-type at the same time the request body is set.
serialize(Object, String) - Method in class com.jayway.restassured.internal.mapping.GsonMapping
 
serialize(Object, String) - Method in class com.jayway.restassured.internal.mapping.JacksonMapping
 
serialize(Object, String) - Method in class com.jayway.restassured.internal.mapping.JaxbMapping
 
serialize(Object, String, ObjectMapper) - Static method in class com.jayway.restassured.internal.mapping.ObjectMapping
 
sessionConfig(SessionConfig) - Method in class com.jayway.restassured.config.RestAssuredConfig
Set the session config.
SessionConfig - Class in com.jayway.restassured.config
Configure session management for REST Assured.
SessionConfig() - Constructor for class com.jayway.restassured.config.SessionConfig
Create a new session configuration with session id name "JSESSIONID" and no session id value.
SessionConfig(String) - Constructor for class com.jayway.restassured.config.SessionConfig
Create a new session configuration with session id name "JSESSIONID" and with the supplied session id value.
SessionConfig(String, String) - Constructor for class com.jayway.restassured.config.SessionConfig
Create a new session config with the given session id name and value.
sessionConfig() - Static method in class com.jayway.restassured.config.SessionConfig
 
sessionId(String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
sessionId(String, String) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
sessionId() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
sessionId() - Method in interface com.jayway.restassured.response.Response
Get the session id from the response.
sessionId - Static variable in class com.jayway.restassured.RestAssured
Set the default session id value that'll be used for each request.
sessionId(String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Set the session id for this request.
sessionId(String, String) - Method in interface com.jayway.restassured.specification.RequestSpecification
Set the session id name and value for this request.
sessionIdName(String) - Method in class com.jayway.restassured.config.SessionConfig
Set the session id name.
sessionIdName() - Method in class com.jayway.restassured.config.SessionConfig
 
sessionIdValue(String) - Method in class com.jayway.restassured.config.SessionConfig
Specify the default session id to use for each request..
sessionIdValue() - Method in class com.jayway.restassured.config.SessionConfig
 
set() - Method in class com.jayway.restassured.config.RestAssuredConfig
Syntactic sugar.
setAccessToken(String) - Method in class com.jayway.restassured.authentication.OAuthScheme
 
setAssertionClosure(Object) - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
setAt(String, Object) - Method in class com.jayway.restassured.internal.http.HttpContextDecorator
Groovy support for the index [] operator
setAttribute(String, Object) - Method in class com.jayway.restassured.internal.http.HttpContextDecorator
 
setAttributes(Object) - Method in class com.jayway.restassured.assertion.XmlEntity
 
setAttributes(Object) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
setAuth(AuthenticationScheme) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
A slightly short version of RequestSpecBuilder.setAuthentication(com.jayway.restassured.authentication.AuthenticationScheme) )}.
setAuthentication(AuthenticationScheme) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
If you need to specify some credentials when performing a request.
setAuthenticationScheme(AuthenticationScheme) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
setBody(String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a String request body (such as e.g.
setBody(byte[]) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a byte array request body to be sent with the request.
setBody(String) - Method in class com.jayway.restassured.builder.ResponseBuilder
Set the response body to a String
setBody(InputStream) - Method in class com.jayway.restassured.builder.ResponseBuilder
Set the response body to an inputstream
setBody(byte[]) - Method in class com.jayway.restassured.builder.ResponseBuilder
Set the response body to an array of bytes
setBody(Object, Object) - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Set the request body.
setCertURL(String) - Method in class com.jayway.restassured.authentication.CertAuthScheme
 
setCharset(String) - Method in class com.jayway.restassured.internal.http.EncoderRegistry
Set the charset used in the content-type header of all requests that send textual data.
setChildren(Object) - Method in class com.jayway.restassured.assertion.XmlEntity
 
setChildren(NodeChildren) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
setComment(String) - Method in class com.jayway.restassured.response.Cookie.Builder
Set the comment describing the purpose of this cookie.
setConfig(RestAssuredConfig) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Define a configuration for redirection settings and http client parameters.
setConfig(FormAuthConfig) - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
setConnectionManager(Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setConsumerKey(String) - Method in class com.jayway.restassured.authentication.OAuthScheme
 
setConsumerSecret(String) - Method in class com.jayway.restassured.authentication.OAuthScheme
 
setContent(String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a String request content (such as e.g.
setContent(byte[]) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify a byte array request content to be sent with the request.
setContent(Object) - Method in class com.jayway.restassured.internal.MultiPart
 
setContent(Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setContentEncoding(Object...) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Set acceptable request and response content-encodings.
setContentEncodingRegistry(ContentEncodingRegistry) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Set a custom registry used to handle different content-encoding types in responses.
setContentType(ContentType) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify the content type of the request.
setContentType(String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify the content type of the request as string.
setContentType(String) - Method in class com.jayway.restassured.builder.ResponseBuilder
Set the content type of the response
setContentType(Object) - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Set the content-type used for any data in the request body, as well as the Accept content-type that will be used for parsing the response.
setContentType(Object) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Set the default content type that will be used to select the appropriate request encoder and response parser.
setContentType(Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setContext(HttpContext) - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Set the HttpContext that will be used for this request.
setCookieName(Object) - Method in class com.jayway.restassured.assertion.CookieMatcher
 
setCookies(Cookies) - Method in class com.jayway.restassured.builder.ResponseBuilder
Set some cookies that will be available in the response.
setCookies(Cookies) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setDefaultCharset(String) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setDefaultContentType(String) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setDefaultParser(Parser) - Method in class com.jayway.restassured.builder.ResponseSpecBuilder
Register a default predefined parser that will be used if no other parser (registered or pre-defined) matches the response content-type.
setDomain(String) - Method in class com.jayway.restassured.response.Cookie.Builder
Set domain attribute of the cookie.
setDtd(Object) - Method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
setEntity(HttpEntity) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setExpiryDate(Date) - Method in class com.jayway.restassured.response.Cookie.Builder
Set the expiration Date of the cookie.
setFileName(Object) - Method in class com.jayway.restassured.internal.MultiPart
 
setFragment(String) - Method in class com.jayway.restassured.internal.http.URIBuilder
The document fragment, without a preceeding '#'
setHasExpectations(boolean) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setHasNext(Object) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
setHeader(Header) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setHeader(String, String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setHeaderName(Object) - Method in class com.jayway.restassured.assertion.HeaderMatcher
 
setHeaders(Headers) - Method in class com.jayway.restassured.builder.ResponseBuilder
Set response headers, e.g:
setHeaders(Map<?, ?>) - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Set request headers.
setHeaders(Map<?, ?>) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Set the default headers to add to all requests made by this builder instance.
setHeaders(Header[]) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setHost(String) - Method in class com.jayway.restassured.internal.http.URIBuilder
 
setIterator(Object) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
setKey(Object) - Method in class com.jayway.restassured.assertion.BodyMatcher
 
setKey(String) - Method in class com.jayway.restassured.assertion.JSONAssertion
 
setKey(String) - Method in class com.jayway.restassured.assertion.XMLAssertion
 
setKeystore(String, String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
The following documentation is taken from http://groovy.codehaus.org/modules/http-builder/doc/ssl.html:
setLocale(Locale) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setMatcher(Matcher) - Method in class com.jayway.restassured.assertion.BodyMatcher
 
setMatcher(Matcher<String>) - Method in class com.jayway.restassured.assertion.CookieMatcher
 
setMatcher(Matcher<String>) - Method in class com.jayway.restassured.assertion.HeaderMatcher
 
setMaxAge(int) - Method in class com.jayway.restassured.response.Cookie.Builder
Set the maximum age of the cookie, specified in seconds, By default, -1 indicating the cookie will persist until browser shutdown.
setMetaClass(MetaClass) - Method in class com.jayway.restassured.assertion.AssertionSupport
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.assertion.AssertParameter
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.assertion.BodyMatcher
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.assertion.CookieMatcher
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.assertion.HeaderMatcher
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.assertion.JSONAssertion
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.assertion.StreamVerifier
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.assertion.XMLAssertion
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.assertion.XmlEntity
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.authentication.BasicAuthScheme
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.authentication.CertAuthScheme
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.authentication.ExplicitNoAuthScheme
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.authentication.FormAuthScheme
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.authentication.NoAuthScheme
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.authentication.OAuthScheme
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.ContentParser
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.filter.RootFilter
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.http.CharsetExtractor
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.http.ContentTypeExtractor
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.KeystoreSpecImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.LogSpecificationImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.MapCreator
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.mapping.GsonMapping
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.mapping.JacksonMapping
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.mapping.JaxbMapping
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.mapping.ObjectMapping
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.MultiPart
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.NoKeystoreSpecImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.NoParameterValue
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.path.ObjectConverter
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.path.xml.NodeBase
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.PreemptiveAuthSpecImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.RedirectSpecificationImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.SpecificationMerger
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.support.Prettifier
 
setMetaClass(MetaClass) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
setMimeType(Object) - Method in class com.jayway.restassured.internal.MultiPart
 
setName(Object) - Method in class com.jayway.restassured.internal.MultiPart
 
setName(Object) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
setNodeList(Object) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
setParam(String, T) - Method in class com.jayway.restassured.config.HttpClientConfig
Set a http client parameter.
setParams(Map<String, ?>) - Method in class com.jayway.restassured.config.HttpClientConfig
Replaces the currently configured parameters with the ones supplied by httpClientParams.
setParams(HttpParams) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setPassword(String) - Method in class com.jayway.restassured.authentication.BasicAuthScheme
 
setPassword(String) - Method in class com.jayway.restassured.authentication.CertAuthScheme
 
setPassword(String) - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
setPassword(Object) - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
setPassword(Object) - Method in class com.jayway.restassured.internal.KeystoreSpecImpl
 
setPath(String) - Method in class com.jayway.restassured.internal.http.URIBuilder
Set the path component of this URI.
setPath(Object) - Method in class com.jayway.restassured.internal.KeystoreSpecImpl
 
setPath(String) - Method in class com.jayway.restassured.response.Cookie.Builder
Set the path attribute of the cookie.
setPort(int) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specify the port.
setPort(int) - Method in class com.jayway.restassured.internal.http.URIBuilder
 
setProperties(Object) - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
setPropertiesFromMap(Map<String, ?>) - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Valid arguments: uriEither a URI, URL, or object whose toString() method produces a valid URI string.
setProperty(String, Object) - Method in class com.jayway.restassured.assertion.AssertionSupport
 
setProperty(String, Object) - Method in class com.jayway.restassured.assertion.AssertParameter
 
setProperty(String, Object) - Method in class com.jayway.restassured.assertion.BodyMatcher
 
setProperty(String, Object) - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
setProperty(String, Object) - Method in class com.jayway.restassured.assertion.CookieMatcher
 
setProperty(String, Object) - Method in class com.jayway.restassured.assertion.HeaderMatcher
 
setProperty(String, Object) - Method in class com.jayway.restassured.assertion.JSONAssertion
 
setProperty(String, Object) - Method in class com.jayway.restassured.assertion.StreamVerifier
 
setProperty(String, Object) - Method in class com.jayway.restassured.assertion.XMLAssertion
 
setProperty(String, Object) - Method in class com.jayway.restassured.assertion.XmlEntity
 
setProperty(String, Object) - Method in class com.jayway.restassured.authentication.BasicAuthScheme
 
setProperty(String, Object) - Method in class com.jayway.restassured.authentication.CertAuthScheme
 
setProperty(String, Object) - Method in class com.jayway.restassured.authentication.ExplicitNoAuthScheme
 
setProperty(String, Object) - Method in class com.jayway.restassured.authentication.FormAuthScheme
 
setProperty(String, Object) - Method in class com.jayway.restassured.authentication.NoAuthScheme
 
setProperty(String, Object) - Method in class com.jayway.restassured.authentication.OAuthScheme
 
setProperty(String, Object) - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.AuthenticationSpecificationImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.ContentParser
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.filter.RootFilter
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.http.CharsetExtractor
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.http.ContentTypeExtractor
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.KeystoreSpecImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.LogSpecificationImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.MapCreator
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.mapping.GsonMapping
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.mapping.JacksonMapping
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.mapping.JaxbMapping
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.mapping.ObjectMapping
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.MultiPart
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.NoKeystoreSpecImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.NoParameterValue
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.path.ObjectConverter
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.path.xml.NodeBase
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl.NodeListIterator
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl.ValueIterator
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.PreemptiveAuthSpecImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.RedirectSpecificationImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.RequestLogSpecificationImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.SpecificationMerger
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.support.Prettifier
 
setProperty(String, Object) - Method in class com.jayway.restassured.internal.TestSpecificationImpl
 
setProxy(String, int, String) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Set the default HTTP proxy to be used for all requests.
setQuery(Map<?, ?>) - Method in class com.jayway.restassured.internal.http.URIBuilder
Set the query portion of the URI.
setQueryNVP(List<NameValuePair>) - Method in class com.jayway.restassured.internal.http.URIBuilder
 
setReasonPhrase(String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setRequestContentType(String) - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Assign a different content-type for the request than is expected for the response.
setRequestHeadersToHttpBuilder(HTTPBuilder) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
setRequestSpec(RequestSpecification) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
setResponseHeaders(Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setResponseSpecification(ResponseSpecification) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
setRoot(String) - Method in class com.jayway.restassured.path.json.JsonPath
Set the root path of the document so that you don't need to write the entire path.
setRoot(String) - Method in class com.jayway.restassured.path.xml.XmlPath
Set the root path of the document so that you don't need to write the entire path.
setRpr(ResponseParserRegistrar) - Method in class com.jayway.restassured.assertion.BodyMatcher
 
setRpr(ResponseParserRegistrar) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setScheme(String) - Method in class com.jayway.restassured.internal.http.URIBuilder
Set the URI scheme, AKA the 'protocol.' e.g.
setSecretToken(String) - Method in class com.jayway.restassured.authentication.OAuthScheme
 
setSecured(boolean) - Method in class com.jayway.restassured.response.Cookie.Builder
Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL.
setSessionId(String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Set the session id for this request.
setSessionId(String, String) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Set the session id name and value for this request.
setSessionIdName(Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setStatusCode(int) - Method in class com.jayway.restassured.builder.ResponseBuilder
Set the status code of the response.
setStatusCode(int) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setStatusCode(Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setStatusLine(String) - Method in class com.jayway.restassured.builder.ResponseBuilder
Set the status line of the response.
setStatusLine(StatusLine) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setStatusLine(ProtocolVersion, int) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setStatusLine(ProtocolVersion, int, String) - Method in class com.jayway.restassured.internal.http.HttpResponseDecorator
 
setStatusLine(Object) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
setUri(Object) - Method in class com.jayway.restassured.internal.http.HTTPBuilder.RequestConfigDelegate
Set the entire URI to be used for this request.
setUri(Object) - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Set the default URI used for requests that do not explicitly take a uri param.
setUrlEncodingEnabled(boolean) - Method in class com.jayway.restassured.builder.RequestSpecBuilder
Specifies if Rest Assured should url encode the URL automatically.
setUserName(String) - Method in class com.jayway.restassured.authentication.BasicAuthScheme
 
setUserName(String) - Method in class com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
 
setUserName(Object) - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
setValue(String, Object) - Method in interface com.jayway.restassured.filter.FilterContext
Add a value that may be used be subsequent filters.
setValue(String, Object) - Method in class com.jayway.restassured.internal.filter.FilterContextImpl
 
setValue(Object) - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
setVersion(int) - Method in class com.jayway.restassured.response.Cookie.Builder
Sets the version of the cookie protocol this cookie complies with.
setXsd(Object) - Method in class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 
shouldPrettyPrint(RequestSpecification) - Method in class com.jayway.restassured.internal.LogSpecificationImpl
 
shutdown() - Method in class com.jayway.restassured.internal.http.HTTPBuilder
Release any system resources held by this instance.
size() - Method in class com.jayway.restassured.assertion.BodyMatcherGroup
 
size() - Method in class com.jayway.restassured.internal.MultiValueEntity
 
size() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
size() - Method in interface com.jayway.restassured.path.xml.element.NodeChildren
 
size() - Method in class com.jayway.restassured.response.Cookies
 
size() - Method in class com.jayway.restassured.response.Headers
 
skip(long) - Method in class com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper
 
spec(RequestSpecification) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
spec(ResponseSpecification) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
spec(RequestSpecification) - Method in interface com.jayway.restassured.specification.RequestSpecification
Add request data from a pre-defined specification.
spec(ResponseSpecification) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that the response matches an entire specification.
specification(RequestSpecification) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
specification(ResponseSpecification) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
specification(RequestSpecification) - Method in interface com.jayway.restassured.specification.RequestSpecification
Add request data from a pre-defined specification.
specification(ResponseSpecification) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that the response matches an entire specification.
SpecificationMerger - Class in com.jayway.restassured.internal
 
SpecificationMerger() - Constructor for class com.jayway.restassured.internal.SpecificationMerger
 
springSecurity() - Static method in class com.jayway.restassured.authentication.FormAuthConfig
 
Status - Enum in com.jayway.restassured.internal.http
Mapping of HTTP response codes to a constant 'success' or 'failure' value.
status() - Method in class com.jayway.restassured.internal.ResponseLogSpecificationImpl
 
status() - Method in interface com.jayway.restassured.specification.ResponseLogSpecification
Logs only the status line (includes the status code)
statusCode(Matcher<? super Integer>) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
statusCode(int) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
statusCode() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
statusCode() - Method in interface com.jayway.restassured.response.Response
Get the status code of the response.
statusCode(Matcher<? super Integer>) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that the response status code matches the given Hamcrest matcher.
statusCode(int) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that the response status code matches an integer.
statusLine(Matcher<? super String>) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
statusLine(String) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
statusLine() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
statusLine() - Method in interface com.jayway.restassured.response.Response
Get the status line of the response.
statusLine(Matcher<? super String>) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that the response status line matches the given Hamcrest matcher.
statusLine(String) - Method in interface com.jayway.restassured.specification.ResponseSpecification
Expect that the response status line matches the given String.
StreamVerifier - Class in com.jayway.restassured.assertion
 
StreamVerifier() - Constructor for class com.jayway.restassured.assertion.StreamVerifier
 

T

TestSpecificationImpl - Class in com.jayway.restassured.internal
 
TestSpecificationImpl(RequestSpecification, ResponseSpecification) - Constructor for class com.jayway.restassured.internal.TestSpecificationImpl
 
that() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
that() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
that() - Method in interface com.jayway.restassured.specification.RequestSpecification
Syntactic sugar, e.g.
that() - Method in interface com.jayway.restassured.specification.ResponseSpecification
Syntactic sugar, e.g.
then() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
then() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
then() - Method in interface com.jayway.restassured.specification.RequestSpecification
Returns the response specification so that you can setup the expectations on the response.
then() - Method in interface com.jayway.restassured.specification.ResponseSpecification
Syntactic sugar, e.g.
thenReturn() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
thenReturn() - Method in interface com.jayway.restassured.response.Response
Syntactic sugar, simply returns the same response instance.
throwIfException(Closure) - Method in class com.jayway.restassured.internal.filter.FormAuthFilter
 
toString() - Method in enum com.jayway.restassured.http.ContentType
 
toString() - Method in class com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport
 
toString() - Method in enum com.jayway.restassured.internal.http.ContentEncoding.Type
Prints the value as it should appear in an HTTP header
toString() - Method in enum com.jayway.restassured.internal.http.Status
 
toString() - Method in class com.jayway.restassured.internal.http.URIBuilder
Print this builder's URI representation.
toString() - Method in class com.jayway.restassured.internal.MultiValueEntity
 
toString() - Method in class com.jayway.restassured.internal.path.xml.NodeChildrenImpl
 
toString() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
toString(Writable) - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
toString() - Method in class com.jayway.restassured.response.Cookie
 
toString() - Method in class com.jayway.restassured.response.Cookies
 
toString() - Method in class com.jayway.restassured.response.Header
 
toString() - Method in class com.jayway.restassured.response.Headers
 
toURI() - Method in class com.jayway.restassured.internal.http.URIBuilder
Convenience method to convert this object to a URI instance.
toURL() - Method in class com.jayway.restassured.internal.http.URIBuilder
Convenience method to convert this object to a URL instance.

U

unregisterParser(String) - Method in class com.jayway.restassured.internal.ResponseParserRegistrar
 
unregisterParser(String) - Static method in class com.jayway.restassured.RestAssured
Unregister the parser associated with the provided content-type
URIBuilder - Class in com.jayway.restassured.internal.http
This class implements a mutable URI.
URIBuilder(URI, boolean, EncoderConfig) - Constructor for class com.jayway.restassured.internal.http.URIBuilder
 
urlEncodingEnabled(boolean) - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
urlEncodingEnabled - Static variable in class com.jayway.restassured.RestAssured
Specifies if Rest Assured should url encode the URL automatically.
urlEncodingEnabled(boolean) - Method in interface com.jayway.restassured.specification.RequestSpecification
Specifies if Rest Assured should url encode the URL automatically.

V

validate(Response) - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
 
value() - Method in class com.jayway.restassured.internal.path.xml.NodeImpl
 
value() - Method in interface com.jayway.restassured.path.xml.element.Node
The node value.
valueOf(String) - Static method in enum com.jayway.restassured.filter.log.LogDetail
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.jayway.restassured.http.ContentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.jayway.restassured.internal.http.ContentEncoding.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.jayway.restassured.internal.http.Method
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.jayway.restassured.internal.http.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.jayway.restassured.mapper.ObjectMapper
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.jayway.restassured.parsing.Parser
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.jayway.restassured.path.xml.XmlPath.CompatibilityMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.jayway.restassured.filter.log.LogDetail
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.jayway.restassured.http.ContentType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.jayway.restassured.internal.http.ContentEncoding.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.jayway.restassured.internal.http.Method
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.jayway.restassured.internal.http.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.jayway.restassured.mapper.ObjectMapper
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.jayway.restassured.parsing.Parser
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.jayway.restassured.path.xml.XmlPath.CompatibilityMode
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.jayway.restassured.response.Cookie
 

W

when() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
when() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
when() - Method in interface com.jayway.restassured.specification.RequestSpecification
Syntactic sugar, e.g.
when() - Method in interface com.jayway.restassured.specification.ResponseSpecification
Syntactic sugar, e.g.
with() - Method in class com.jayway.restassured.internal.RequestSpecificationImpl
 
with() - Method in class com.jayway.restassured.internal.ResponseSpecificationImpl
 
with(InputStream) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
with(String) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
with(File) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
with(Reader) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
with(URL) - Static method in class com.jayway.restassured.path.json.JsonPath
Instantiate a new JsonPath instance.
with(InputStream) - Static method in class com.jayway.restassured.path.xml.XmlPath
 
with(String) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
with(InputSource) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
with(File) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
with(Reader) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
with(URI) - Static method in class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
with() - Static method in class com.jayway.restassured.RestAssured
Start building the request part of the test com.jayway.restassured.specification.
with() - Method in interface com.jayway.restassured.specification.RequestSpecification
Syntactic sugar, e.g.
with() - Method in interface com.jayway.restassured.specification.ResponseSpecification
Returns the request com.jayway.restassured.specification so that you can define the properties of the request.
withArg(Object) - Static method in class com.jayway.restassured.specification.Argument
 
withArgs(Object, Object...) - Static method in class com.jayway.restassured.RestAssured
Slightly shorter version of RestAssured.withArguments(Object, Object...).
withArguments(Object, Object...) - Static method in class com.jayway.restassured.RestAssured
Create a list of arguments that can be used to create parts of the path in a body/content expression.
withParams(Map<String, ?>) - Method in class com.jayway.restassured.config.HttpClientConfig
Replaces the currently configured parameters with the ones supplied by httpClientParams.
wrapResponseEntity(HttpEntity) - Method in class com.jayway.restassured.internal.http.ContentEncoding
 
wrapResponseEntity(HttpEntity) - Method in class com.jayway.restassured.internal.http.DeflateEncoding
Wraps the raw entity in a DeflateEncoding.InflaterEntity.
wrapResponseEntity(HttpEntity) - Method in class com.jayway.restassured.internal.http.GZIPEncoding
Wraps the raw entity in a GZIPEncoding.GZIPDecompressingEntity.

X

XMLAssertion - Class in com.jayway.restassured.assertion
 
XMLAssertion() - Constructor for class com.jayway.restassured.assertion.XMLAssertion
 
XmlDtdMatcher - Class in com.jayway.restassured.internal.matcher.xml
 
XmlDtdMatcher(Object) - Constructor for class com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
 
XmlEntity - Class in com.jayway.restassured.assertion
 
XmlEntity() - Constructor for class com.jayway.restassured.assertion.XmlEntity
 
xmlPath() - Method in class com.jayway.restassured.internal.RestAssuredResponseImpl
 
XmlPath - Class in com.jayway.restassured.path.xml
XmlPath is an alternative to using XPath for easily getting values from an XML document.
XmlPath(String) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(InputStream) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(InputSource) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(File) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(Reader) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(URI) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(XmlPath.CompatibilityMode, String) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(XmlPath.CompatibilityMode, InputStream) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(XmlPath.CompatibilityMode, InputSource) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(XmlPath.CompatibilityMode, File) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(XmlPath.CompatibilityMode, Reader) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
XmlPath(XmlPath.CompatibilityMode, URI) - Constructor for class com.jayway.restassured.path.xml.XmlPath
Instantiate a new XmlPath instance.
xmlPath() - Method in interface com.jayway.restassured.response.ResponseBody
Get an XmlPath view of the response body.
XmlPath.CompatibilityMode - Enum in com.jayway.restassured.path.xml
 
XmlXsdMatcher - Class in com.jayway.restassured.internal.matcher.xml
 
XmlXsdMatcher(Object) - Constructor for class com.jayway.restassured.internal.matcher.xml.XmlXsdMatcher
 

A B C D E F G H I J K L M N O P Q R S T U V W X

Copyright © 2010-2012. All Rights Reserved.