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

A

accept(ContentType) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
accept(MediaType...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
accept(String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
accept(ContentType) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the accept header of the request.
accept(MediaType...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the accept header of the request.
accept(String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the accept header of the request.
addAttribute(String, Object) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Add request attribute
addAttributes(Map<String, ?>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Add request attributes
addCookie(Cookie) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Add a detailed cookie
addCookie(String, Object, Object...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Add a cookie to be sent with the request.
addCookies(Map<String, ?>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Add cookies to be sent with the request as Map e.g:
addFormParam(String, Collection<?>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
 
addFormParam(String, Object...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
 
addFormParams(Map<String, ?>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
 
addHeader(String, String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Add a header to be sent with the request
addHeader(Header) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Add a header to be sent with the request.
addHeaders(Map<String, String>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Add headers to be sent with the request as Map.
addMockMvcRequestSpecification(MockMvcRequestSpecification) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Merge this builder with settings from another specification.
addMultiPart(File) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify a file to upload to the server using multi-part form data uploading.
addMultiPart(String, File) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
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 io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
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 io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify a byte-array to upload to the server using multi-part form data.
addMultiPart(String, String, byte[], String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify a byte-array to upload to the server using multi-part form data.
addMultiPart(String, String, InputStream) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify an inputstream to upload to the server using multi-part form data.
addMultiPart(String, String, InputStream, String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify an inputstream to upload to the server using multi-part form data.
addMultiPart(String, String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify a string to send to the server using multi-part form data.
addMultiPart(String, String, String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify a string to send to the server using multi-part form data with a specific mime-type.
addParam(String, Object...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
 
addParam(String, Collection<?>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
 
addParams(Map<String, ?>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
 
addQueryParam(String, Collection<?>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
 
addQueryParam(String, Object...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
 
addQueryParams(Map<String, ?>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
 
addResultHandlers(ResultHandler, ResultHandler...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Add a result handler
all(boolean) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
all() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
and() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
Syntactic sugar.
and() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Syntactic sugar.
and() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
and() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestAsyncConfigurer
Syntactic sugar
and() - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Returns the same MockMvcRequestSpecBuilder instance for syntactic sugar.
and() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Syntactic sugar
apply(ResultHandler, ResultHandler...) - Method in class io.restassured.module.mockmvc.internal.ValidatableMockMvcResponseImpl
 
apply(ResultHandler, ResultHandler...) - Method in interface io.restassured.module.mockmvc.response.ValidatableMockMvcResponse
Apply one or more result handlers.
assertThat(ResultMatcher) - Method in class io.restassured.module.mockmvc.internal.ValidatableMockMvcResponseImpl
 
assertThat(ResultMatcher) - Method in interface io.restassured.module.mockmvc.response.ValidatableMockMvcResponse
Assert that a ResultMatcher matches the response.
async() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestAsyncSender
Gives an option to perform asynchronous requests
asyncConfig(AsyncConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the async config
attribute(String, Object) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
attribute(String, Object) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a single-value request attribute
attributes(Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
attributes(Map<String, ?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify request attributes as a map
attributeUpdateStrategy(ParamConfig.UpdateStrategy) - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
Set attribute update strategy to the given value.
attributeUpdateStrategy() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
 
auth() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
auth() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify authentication details that'll be used in the request.
authenticate(MockMvcRequestSpecification) - Method in interface io.restassured.module.mockmvc.specification.MockMvcAuthenticationScheme
Perform authentication using one of methods in MockMvcRequestSpecification.
authentication(Object) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
authentication - Static variable in class io.restassured.module.mockmvc.RestAssuredMockMvc
Defines a global authentication scheme that'll be used for all requests (if not overridden).
authentication(Object) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Authenticate using the supplied authentication instance (org.springframework.security.core.Authentication from Spring Security).
authentication(Object) - Method in interface io.restassured.module.mockmvc.specification.MockMvcAuthenticationSpecification
Authenticate using the given authentication instance.
automaticallyApplySpringRestDocsMockMvcSupport(boolean) - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
Instructs REST Assured whether or not to automatically support spring-restdocs-mockmvc if available in classpath.
automaticallyApplySpringRestDocsMockMvcSupport() - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
Instruct REST Assured Mock Mvc to automatically apply support for spring-restdocs-mockmvc if it's available in the classpath.
automaticallyApplySpringSecurityMockMvcConfigurer(boolean) - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
Instructs REST Assured to automatically apply the SecurityMockMvcConfigurer that allows for Spring Security testing.
automaticallyApplySpringSecurityMockMvcConfigurer() - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
Instruct REST Assured Mock Mvc to automatically apply the SpringSecurityMockMvcConfigurer if it's available in the classpath.

B

basePath(String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
basePath - Static variable in class io.restassured.module.mockmvc.RestAssuredMockMvc
The base path that's used by REST assured when making requests.
body() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
body(boolean) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
body(String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
body(byte[]) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
body(File) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
body(Object) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
body(Object, ObjectMapper) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
body(Object, ObjectMapperType) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
body(String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a String request body (such as e.g.
body(byte[]) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a byte array request body that'll be sent with the request.
body(File) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify file content that'll be sent with the request.
body(Object) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
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 io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
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(Object, ObjectMapperType) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper type.
build(MockMvcConfig) - Method in class io.restassured.module.mockmvc.internal.MockMvcFactory
 
build() - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Build the request specification.

C

clientConfig(ClientConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
config() - Static method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
config(RestAssuredMockMvcConfig) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
config - Static variable in class io.restassured.module.mockmvc.RestAssuredMockMvc
Define a REST Assured Mock Mvc configuration.
config() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
 
config(RestAssuredMockMvcConfig) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Define a REST Assured Mock Mvc configuration.
containsPath(String) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Creates a ResponseAwareMatcher that extracts the given path from the response and wraps it in a Matchers.equalTo(Object) matcher.
contentType(ContentType) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
contentType(String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
contentType(ContentType) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the content type of the request.
contentType(String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the content type of the request.
cookie(String, Object, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
cookie(Cookie) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
cookie(String, Object, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a cookie that'll be sent with the request e.g:
cookie(Cookie) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a Cookie to send with the request.
cookies() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
cookies(String, Object, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
cookies(Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
cookies(Cookies) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
cookies(String, Object, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the cookies that'll be sent with the request.
cookies(Map<String, ?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the cookies that'll be sent with the request as Map e.g:
cookies(Cookies) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the cookies that'll be sent with the request as Cookies:

D

decoderConfig(DecoderConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the decoder config
delete(String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
delete(String, Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
delete(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
delete(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
delete() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
delete(String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a DELETE request to a path.
delete(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a DELETE request to a path.
delete(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a DELETE request to a uri.
delete(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a DELETE request to a url.
delete() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a DELETE request to the statically configured base path.
dontAutomaticallyApplySpringRestDocsMockMvcSupport() - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
Instruct REST Assured Mock Mvc not to automatically apply support for spring-restdocs-mockmvc even if it's available in the classpath.
dontAutomaticallyApplySpringSecurityMockMvcConfigurer() - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
Instruct REST Assured Mock Mvc not to automatically apply the SpringSecurityMockMvcConfigurer even if it's available in the classpath.

E

enableLoggingOfRequestAndResponseIfValidationFails() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Enable logging of both the request and the response if REST Assureds test validation fails with log detail equal to LogDetail.ALL.
enableLoggingOfRequestAndResponseIfValidationFails(LogDetail) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Enable logging of both the request and the response if REST Assureds test validation fails with the specified log detail.
encoderConfig(EncoderConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the encoder config
endsWithPath(String) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Creates a ResponseAwareMatcher that extracts the given path from the response and wraps it in a Matchers.equalTo(Object) matcher.
equalToPath(String) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Creates a ResponseAwareMatcher that extracts the given path from the response and wraps it in a Matchers.equalTo(Object) matcher.
everything(boolean) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
everything() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
expect(ResultMatcher) - Method in class io.restassured.module.mockmvc.internal.ValidatableMockMvcResponseImpl
 
expect(ResultMatcher) - Method in interface io.restassured.module.mockmvc.response.ValidatableMockMvcResponse
Expect a ResultMatcher to match the response.

F

formParam(String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
formParam(String, Collection<?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
formParam(String, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a form parameter that'll be sent with the request.
formParam(String, Collection<?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a multi-value form parameter that'll be sent with the request e.g:
formParams(String, Object, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
formParams(Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
formParams(String, Object, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the form parameters that'll be sent with the request.
formParams(Map<String, ?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the form parameters that'll be sent with the request.
formParamsUpdateStrategy(ParamConfig.UpdateStrategy) - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
Set form parameter update strategy to the given value.
formParamsUpdateStrategy() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
 

G

get(String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
get(String, Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
get(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
get(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
get() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
get(String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a GET request to a path.
get(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a GET request to a path.
get(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a GET request to a uri.
get(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a GET request to a url.
get() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a GET request to the statically configured base path.
getAsyncConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getAsyncConfig() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getAttributes() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getAuthentication() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getBasePath() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getClientConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getCookies() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getDecoderConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getEncoderConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getFormParams() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getHeaderConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getInterceptor() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getJsonConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getLogConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getLogRepository() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getMatcherConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getMockHttpServletResponse() - Method in class io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl
 
getMockHttpServletResponse() - Method in interface io.restassured.module.mockmvc.response.MockMvcResponse
Return the MockHttpServletResponse as returned by Spring MockMvc.
getMockMvcConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getMockMvcFactory() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getMockMvcParamConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getMultiPartConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getMultiParts() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getMvcResult() - Method in class io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl
 
getMvcResult() - Method in interface io.restassured.module.mockmvc.response.MockMvcResponse
Return the MvcResult as returned by Spring MockMvc.
getObjectMapperConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getParamConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getParams() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getQueryParams() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getRequestBody() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getRequestContentType() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getRequestHeaders() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getRequestLoggingFilter() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getRequestPostProcessors() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getRestAssuredConfig() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getRestAssuredMockMvcConfig() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getResultHandlers() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
getSessionConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
getXmlConfig() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
given() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
This is usually the entry-point of the API if you need to specify parameters or a body in the request.

H

head(String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
head(String, Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
head(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
head(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
head() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
head(String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a HEAD request to a path.
head(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a HEAD request to a path.
head(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a HEAD request to a uri.
head(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a HEAD request to a url.
head() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a HEAD request to the statically configured base path.
header(String, Object, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
header(Header) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
header(String, Object, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a header that'll be sent with the request e.g:
header(Header) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a Header to send with the request.
headerConfig(HeaderConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the header config
headers() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
headers(String, Object, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
headers(Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
headers(Headers) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
headers(String, Object, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the headers that'll be sent with the request.
headers(Map<String, ?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the headers that'll be sent with the request as Map e.g:
headers(Headers) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the headers that'll be sent with the request as Headers, e.g:

I

ifValidationFails() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
ifValidationFails(LogDetail) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
ifValidationFails(LogDetail, boolean) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
intercept(MockHttpServletRequestBuilder) - Method in interface io.restassured.module.mockmvc.intercept.MockHttpServletRequestBuilderInterceptor
 
interceptor(MockHttpServletRequestBuilderInterceptor) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
interceptor(MockHttpServletRequestBuilderInterceptor) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Intercept the MockHttpServletRequestBuilder created by REST Assured before it's used to perform the request.
io.restassured.module.mockmvc - package io.restassured.module.mockmvc
 
io.restassured.module.mockmvc.config - package io.restassured.module.mockmvc.config
 
io.restassured.module.mockmvc.intercept - package io.restassured.module.mockmvc.intercept
 
io.restassured.module.mockmvc.internal - package io.restassured.module.mockmvc.internal
 
io.restassured.module.mockmvc.matcher - package io.restassured.module.mockmvc.matcher
 
io.restassured.module.mockmvc.response - package io.restassured.module.mockmvc.response
 
io.restassured.module.mockmvc.specification - package io.restassured.module.mockmvc.specification
 
isAssigned() - Method in class io.restassured.module.mockmvc.internal.MockMvcFactory
 
isUserConfigured() - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
 
isUserConfigured() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
isUserConfigured() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 

J

jsonConfig(JsonConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the Json config.

L

log() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
log(LogDetail) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Enabled logging with the specified log detail.
log() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Returns the MockMvcRequestLogSpecification that allows you to log different parts of the MockMvcRequestSpecification.
logConfig(LogConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the Log config.

M

matcherConfig(MatcherConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the matcher config
matchesDtd(String) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Evaluates to true if an XML string matches the supplied DTD.
matchesDtd(InputStream) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Evaluates to true if an XML string matches the supplied DTD.
matchesDtd(File) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Evaluates to true if an XML string matches the supplied DTD.
matchesDtd(URL) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Evaluates to true if an XML string matches the supplied DTD.
matchesDtdInClasspath(String) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Evaluates to true if an XML file in classpath matches the supplied DTD.
matchesXsd(String) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Evaluates to true if an XML string matches the supplied XSD (Xml Schema).
matchesXsd(InputStream) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Evaluates to true if an XML string matches the supplied XSD (Xml Schema).
matchesXsd(Reader) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Evaluates to true if an XML string matches the supplied XSD (Xml Schema).
matchesXsd(File) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Evaluates to true if an XML string matches the supplied XSD (Xml Schema).
matchesXsdInClasspath(String) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Evaluates to true if an XML file in classpath matches the supplied XSD.
mergeAllParameters() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
Merge all parameter types.
MockHttpServletRequestBuilderInterceptor - Interface in io.restassured.module.mockmvc.intercept
Implement this interface to intercept the MockHttpServletRequestBuilder before it's built.
mockHttpServletResponse() - Method in class io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl
 
mockHttpServletResponse() - Method in interface io.restassured.module.mockmvc.response.MockMvcResponse
Return the MockHttpServletResponse as returned by Spring MockMvc.
mockMvc(MockMvc) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
mockMvc(MockMvc) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Set a MockMvc instance that REST Assured will use when making requests unless overwritten by a MockMvcRequestSpecification.
mockMvc(MockMvc) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Provide a MockMvc instance to that REST Assured will use when making this request.
MockMvcAuthenticationScheme - Interface in io.restassured.module.mockmvc.specification
 
MockMvcAuthenticationSpecification - Interface in io.restassured.module.mockmvc.specification
Specify an authentication scheme to use when sending a request.
MockMvcConfig - Class in io.restassured.module.mockmvc.config
General configuration of the Spring Mock MVC module
MockMvcConfig() - Constructor for class io.restassured.module.mockmvc.config.MockMvcConfig
Creates a default MockMvcConfig that automatically applies the SecurityMockMvcConfigurer if available in classpath.
mockMvcConfig() - Static method in class io.restassured.module.mockmvc.config.MockMvcConfig
Just syntactic sugar.
mockMvcConfig(MockMvcConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the MockMVC config
MockMvcFactory - Class in io.restassured.module.mockmvc.internal
 
MockMvcFactory(MockMvc) - Constructor for class io.restassured.module.mockmvc.internal.MockMvcFactory
 
MockMvcFactory(MockMvcBuilder) - Constructor for class io.restassured.module.mockmvc.internal.MockMvcFactory
 
MockMvcParamConfig - Class in io.restassured.module.mockmvc.config
Determines how different parameter types in REST Assured MockMvc should be updated when adding multiple parameters of the same type with the same name.
MockMvcParamConfig() - Constructor for class io.restassured.module.mockmvc.config.MockMvcParamConfig
Create a new instance where all parameters are merged
MockMvcParamConfig(ParamConfig.UpdateStrategy, ParamConfig.UpdateStrategy, ParamConfig.UpdateStrategy, ParamConfig.UpdateStrategy, ParamConfig.UpdateStrategy) - Constructor for class io.restassured.module.mockmvc.config.MockMvcParamConfig
Create a new instance and specify update strategies for all parameter types.
MockMvcRequestAsyncConfigurer - Interface in io.restassured.module.mockmvc.specification
Options available when sending a request using Mock MVC module.
MockMvcRequestAsyncSender - Interface in io.restassured.module.mockmvc.specification
Options available when sending a request using Mock MVC module.
MockMvcRequestLogSpecification - Interface in io.restassured.module.mockmvc.specification
The request logging specification
MockMvcRequestLogSpecificationImpl - Class in io.restassured.module.mockmvc.internal
 
MockMvcRequestLogSpecificationImpl(MockMvcRequestSpecificationImpl) - Constructor for class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
MockMvcRequestSender - Interface in io.restassured.module.mockmvc.specification
Options available when sending a request using Mock MVC module.
MockMvcRequestSpecBuilder - Class in io.restassured.module.mockmvc.specification
You can use the builder to construct a request specification.
MockMvcRequestSpecBuilder() - Constructor for class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
 
MockMvcRequestSpecification - Interface in io.restassured.module.mockmvc.specification
Allows you to specify how the request will look like.
MockMvcRequestSpecificationImpl - Class in io.restassured.module.mockmvc.internal
 
MockMvcRequestSpecificationImpl(MockMvcFactory, RestAssuredMockMvcConfig, List<ResultHandler>, List<RequestPostProcessor>, String, MockMvcRequestSpecification, ResponseSpecification, MockMvcAuthenticationScheme) - Constructor for class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
MockMvcResponse - Interface in io.restassured.module.mockmvc.response
The response of a request made by REST Assured Mock MVC.
MockMvcRestAssuredResponseImpl - Class in io.restassured.module.mockmvc.internal
 
MockMvcRestAssuredResponseImpl(ResultActions, LogRepository) - Constructor for class io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl
 
multiPart(File) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, File) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, File, String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, Object) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, Object, String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, String, Object, String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, String, byte[]) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, String, byte[], String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, String, InputStream) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, String, InputStream, String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(String, String, String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
multiPart(File) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a file to upload to the server using multi-part form data uploading.
multiPart(String, File) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
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 io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
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 io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
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 io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
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, Object, String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
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 io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a byte-array to upload to the server using multi-part form data.
multiPart(String, String, byte[], String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a byte-array to upload to the server using multi-part form data.
multiPart(String, String, InputStream) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify an inputstream to upload to the server using multi-part form data.
multiPart(String, String, InputStream, String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify an inputstream to upload to the server using multi-part form data.
multiPart(String, String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a string to send to the server using multi-part form data.
multiPart(String, String, String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a string to send to the server using multi-part form data with a specific mime-type.
multiPartConfig(MultiPartConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the multi-part config
mvcResult() - Method in class io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl
 
mvcResult() - Method in interface io.restassured.module.mockmvc.response.MockMvcResponse
Return the MvcResult as returned by Spring MockMvc.

N

newConfig() - Static method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
none() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
none() - Method in interface io.restassured.module.mockmvc.specification.MockMvcAuthenticationSpecification
Explicitly state that you don't which to use any authentication in this request.

O

objectMapperConfig(ObjectMapperConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the object mapper config.
of(Object[]) - Static method in class io.restassured.module.mockmvc.internal.StandaloneMockMvcFactory
Create a new MockMvcFactory with the supplied controllers or mock mvc configureres
options(String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
options(String, Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
options(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
options(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
options() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
options(String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a OPTIONS request to a path.
options(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a OPTIONS request to a path.
options(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a OPTIONS request to a uri.
options(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a OPTIONS request to a url.
options() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a OPTIONS request to the statically configured base path.
originalResponse() - Method in class io.restassured.module.mockmvc.internal.ValidatableMockMvcResponseImpl
 

P

param(String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
param(String, Collection<?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
param(String, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a parameter that'll be sent with the request e.g:
param(String, Collection<?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a multi-value parameter that'll be sent with the request e.g:
paramConfig() - Static method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
 
paramConfig(MockMvcParamConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the parameter config
paramConfig(ParamConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
 
parameters() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
parameters() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestLogSpecification
Logs only the parameters of the request.
params() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
 
params(String, Object, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
params(Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
params() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestLogSpecification
Logs only the parameters of the request.
params(String, Object, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the parameters that'll be sent with the request.
params(Map<String, ?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the parameters that'll be sent with the request as Map e.g:
patch(String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
patch(String, Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
patch(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
patch(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
patch() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
patch(String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a PATCH request to a path.
patch(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a PATCH request to a path.
patch(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a PATCH request to a uri.
patch(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a PATCH request to a url.
patch() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a PATCH request to the statically configured base path.
post(String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
post(String, Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
post(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
post(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
post() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
post(String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a POST request to a path.
post(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a POST request to a path.
post(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a POST request to a uri.
post(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a POST request to a url.
post() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a POST request to the statically configured base path.
postProcessors(RequestPostProcessor, RequestPostProcessor...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
postProcessors(RequestPostProcessor, RequestPostProcessor...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Assign one or more ResultHandler that'll be executes after a request has been made.
postProcessors() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
 
postProcessors(RequestPostProcessor, RequestPostProcessor...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
An extension point for further initialization of MockHttpServletRequest in ways not built directly into the MockHttpServletRequestBuilder.
principal(Principal) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
principal(Object) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
principal(Principal) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Authenticate using the given principal.
principal(Object) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Authenticate using the given principal.
principal(Principal) - Method in interface io.restassured.module.mockmvc.specification.MockMvcAuthenticationSpecification
Authenticate using the given principal.
principal(Object) - Method in interface io.restassured.module.mockmvc.specification.MockMvcAuthenticationSpecification
Authenticate using the given principal.
principalWithCredentials(Object, Object, String...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
principalWithCredentials(Object, Object, String...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Authenticate using the given principal and credentials.
principalWithCredentials(Object, Object, String...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcAuthenticationSpecification
Authenticate using the given principal and credentials.
put(String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
put(String, Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
put(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
put(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
put() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
put(String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a PUT request to a path.
put(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a PUT request to a uri.
put(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a PUT request to a url.
put() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a PUT request to the statically configured base path.

Q

queryParam(String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
queryParam(String, Collection<?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
queryParam(String, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a query parameter that'll be sent with the request.
queryParam(String, Collection<?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify a multi-value query parameter that'll be sent with the request e.g:
queryParams(String, Object, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
queryParams(Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
queryParams(String, Object, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the query parameters that'll be sent with the request.
queryParams(Map<String, ?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Specify the query parameters that'll be sent with the request.
queryParamsUpdateStrategy(ParamConfig.UpdateStrategy) - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
Set query parameter update strategy to the given value.
queryParamsUpdateStrategy() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
 

R

replaceAllParameters() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
Replace parameter values for all kinds of parameter types.
request(Method) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
request(String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
request(Method, String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
request(String, String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
request(Method, URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
request(Method, URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
request(String, URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
request(String, URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
request(Method) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a request to the pre-configured path (by default http://localhost:8080).
request(String) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a custom HTTP request to the pre-configured path (by default http://localhost:8080).
request(Method, String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a HTTP request to a path.
request(String, String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a custom HTTP request to a path.
request(Method, URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a request to a uri.
request(Method, URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a request to a url.
request(String, URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a custom HTTP request to a uri.
request(String, URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Perform a custom HTTP request to a url.
requestParamsUpdateStrategy(ParamConfig.UpdateStrategy) - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
Set request parameter update strategy to the given value.
requestParamsUpdateStrategy() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
 
requestSpecification - Static variable in class io.restassured.module.mockmvc.RestAssuredMockMvc
Specify a default request specification that will be sent with each request.
reset() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Reset all static configurations to their default values.
responseSpecification - Static variable in class io.restassured.module.mockmvc.RestAssuredMockMvc
Specify a default response specification that will be sent with each request.
RestAssuredMockMvc - Class in io.restassured.module.mockmvc
The Spring MVC module's equivalent of RestAssured.
RestAssuredMockMvc() - Constructor for class io.restassured.module.mockmvc.RestAssuredMockMvc
 
RestAssuredMockMvcConfig - Class in io.restassured.module.mockmvc.config
Main configuration for REST Assured Mock MVC that allows you to configure advanced settings.
RestAssuredMockMvcConfig() - Constructor for class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Create a new RestAssuredMockMvcConfig with the default configurations.
RestAssuredMockMvcMatchers - Class in io.restassured.module.mockmvc.matcher
Providers Hamcrest matchers that may be useful when validating a MockMvc response.
RestAssuredMockMvcMatchers() - Constructor for class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
 
resultHandlers(ResultHandler, ResultHandler...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
resultHandlers(ResultHandler, ResultHandler...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Assign one or more ResultHandler that'll be executes after a request has been made.
resultHandlers() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
 

S

sessionAttr(String, Object) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
Set a session attribute.
sessionAttr(String, Object) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Set a session attribute.
sessionAttributesUpdateStrategy(ParamConfig.UpdateStrategy) - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
Set session parameter update strategy to the given value.
sessionAttributesUpdateStrategy() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
 
sessionAttrs(Map<String, Object>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
Set session attributes.
sessionAttrs(Map<String, Object>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Set session attributes.
sessionConfig(SessionConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the session config.
sessionId(String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
sessionId(String, String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
sessionId(String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Set the session id for this request.
sessionId(String, String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Set the session id name and value for this request.
set() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Syntactic sugar.
setAuth(MockMvcAuthenticationScheme) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
If you need to specify some credentials when performing a request.
setBasePath(String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Set the basePath property of the MockMvcRequestSpecBuilder instead of using static field RestAssuredMockMvc.basePath.
setBody(String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify a String request body (such as e.g.
setBody(byte[]) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify a byte array request body to be sent with the request.
setBody(Object) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request.
setBody(Object, ObjectMapper) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper.
setBody(Object, ObjectMapperType) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper type.
setConfig(RestAssuredMockMvcConfig) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Define a configuration for redirection settings and http client parameters.
setContentType(ContentType) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify the content type of the request.
setContentType(String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Specify the content type of the request as string.
setMockHttpServletRequestBuilderInterceptor(MockHttpServletRequestBuilderInterceptor) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
The mock mvc instance to use.
setMockMvc(MockMvc) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
The mock mvc instance to use.
setPostProcessors(RequestPostProcessor) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Set the post processors for this request.
setRequestLoggingFilter(RequestLoggingFilter) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
setSessionId(String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Set the session id for this request.
setSessionId(String, String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Set the session id name and value for this request.
setStandaloneSetup(Object...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
The standalone setup to be used by supplying a set of controllers.
setStandaloneSetup(MockMvcBuilder) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Initialize with a MockMvcBuilder that will be used to create the MockMvc instance.
setWebAppContextSetup(WebApplicationContext, MockMvcConfigurer...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
Initialize with a WebApplicationContext that will be used to create the MockMvc instance.
shouldAutomaticallyApplySpringRestDocsMockMvcSupport() - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
 
shouldAutomaticallyApplySpringSecurityMockMvcConfigurer() - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
 
spec(MockMvcRequestSpecification) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
spec(MockMvcRequestSpecification) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Add request data from a pre-defined specification.
StandaloneMockMvcFactory - Class in io.restassured.module.mockmvc.internal
 
StandaloneMockMvcFactory() - Constructor for class io.restassured.module.mockmvc.internal.StandaloneMockMvcFactory
 
standaloneSetup(Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
standaloneSetup(MockMvcBuilder) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
standaloneSetup(Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Build a MockMvc by registering one or more @Controller's instances and configuring Spring MVC infrastructure programmatically.
standaloneSetup(MockMvcBuilder) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Build a MockMvc by using a provided AbstractMockMvcBuilder for configuring Spring MVC infrastructure programmatically.
standaloneSetup(Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Build a MockMvc by registering one or more @Controller's instances and configuring Spring MVC infrastructure programmatically.
standaloneSetup(MockMvcBuilder) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Build a MockMvc by using a provided AbstractMockMvcBuilder for configuring Spring MVC infrastructure programmatically.
startsWithPath(String) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
Creates a ResponseAwareMatcher that extracts the given path from the response and wraps it in a Matchers.equalTo(Object) matcher.
status(HttpStatus) - Method in class io.restassured.module.mockmvc.internal.ValidatableMockMvcResponseImpl
 
status(HttpStatus) - Method in interface io.restassured.module.mockmvc.response.ValidatableMockMvcResponse
Validate that the response status matches an Spring-Framework HttpStatus.

T

then() - Method in class io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl
 
then() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestAsyncConfigurer
Return back to request sender
timeout(long, TimeUnit) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestAsyncConfigurer
Add timeout to async execution - takes precedence over the default setup
timeout(long) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestAsyncConfigurer
Add timeout to async execution - takes precedence over the default setup

V

ValidatableMockMvcResponse - Interface in io.restassured.module.mockmvc.response
A validatable response of a request made by REST Assured Mock Mvc.
ValidatableMockMvcResponseImpl - Class in io.restassured.module.mockmvc.internal
 
ValidatableMockMvcResponseImpl(ResultActions, String, ResponseParserRegistrar, RestAssuredConfig, MockMvcResponse, ExtractableResponse<MockMvcResponse>, LogRepository) - Constructor for class io.restassured.module.mockmvc.internal.ValidatableMockMvcResponseImpl
 

W

webAppContextSetup(WebApplicationContext, MockMvcConfigurer...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
webAppContextSetup(WebApplicationContext, MockMvcConfigurer...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Build a MockMvc using the given, fully initialized, i.e.
webAppContextSetup(WebApplicationContext, MockMvcConfigurer...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Build a MockMvc using the given, fully initialized, i.e.
when() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
when() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
This is usually the entry-point of the API if you need to specify parameters or a body in the request.
when() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
Call this method when you're done setting up the request specification.
with() - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
Just syntactic sugar to make the DSL more english like.
with() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
Syntactic sugar.
with() - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Syntactic sugar.
with(RequestPostProcessor, RequestPostProcessor...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
 
with() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
This is usually the entry-point of the API if you need to specify parameters or a body in the request.
with(RequestPostProcessor, RequestPostProcessor...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
Authenticate using a RequestPostProcessor.
with(RequestPostProcessor, RequestPostProcessor...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcAuthenticationSpecification
Authenticate using a RequestPostProcessor.
with() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestAsyncConfigurer
Syntactic sugar

X

xmlConfig(XmlConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
Set the Xml config.
A B C D E F G H I J L M N O P Q R S T V W X 
Skip navigation links

Copyright © 2010–2020. All rights reserved.