Index
All Classes and Interfaces|All Packages
A
- accept(ContentType) - 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(String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- accept(String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify the accept header of the request.
- accept(MediaType...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- accept(MediaType...) - 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, Object...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
- addFormParam(String, Collection<?>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
- addFormParams(Map<String, ?>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
- addHeader(Header) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
-
Add a header to be sent with the request.
- addHeader(String, String) - 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) - 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, 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, 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
- addPathParam(String, Object) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
-
Specify a path parameter.
- addPathParams(String, Object, Object...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
-
Specify multiple path parameter name-value pairs.
- addPathParams(Map<String, Object>) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
-
Specify multiple path parameter name-value pairs.
- addQueryParam(String, Object...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
- addQueryParam(String, Collection<?>) - 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() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
- all(boolean) - 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
ResultMatchermatches 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() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
- attributeUpdateStrategy(ParamConfig.UpdateStrategy) - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
-
Set attribute update strategy to the given value.
- 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 - 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) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- authentication(Object) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Authenticate using the supplied authentication instance (
org.springframework.security.core.Authenticationfrom Spring Security). - authentication(Object) - Method in interface io.restassured.module.mockmvc.specification.MockMvcAuthenticationSpecification
-
Authenticate using the given authentication instance.
- automaticallyApplySpringRestDocsMockMvcSupport() - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
-
Instruct REST Assured Mock Mvc to automatically apply support for
spring-restdocs-mockmvcif it's available in the classpath. - automaticallyApplySpringRestDocsMockMvcSupport(boolean) - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
-
Instructs REST Assured whether or not to automatically support
spring-restdocs-mockmvcif available in classpath. - 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.
- 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.
B
- basePath - Static variable in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
The base path that's used by REST assured when making requests.
- basePath(String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- body() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
- body(boolean) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
- body(byte[]) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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.
- body(String) - 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.
- build() - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
-
Build the request specification.
- build(MockMvcConfig) - Method in class io.restassured.module.mockmvc.internal.MockMvcFactory
C
- clientConfig(ClientConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
- 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.config.RestAssuredMockMvcConfig
- config() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
- config(RestAssuredMockMvcConfig) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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
ResponseAwareMatcherthat extracts the given path from the response and wraps it in aMatchers.equalTo(Object)matcher. - contentType(ContentType) - 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- contentType(String) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify the content type of the request.
- contentType(MediaType) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- contentType(MediaType) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify the content type of the request.
- cookie(Cookie) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- cookie(Cookie) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify a
Cookieto send with the request. - cookie(String, Object, Object...) - 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:
- cookies() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
- cookies(Cookies) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- cookies(Cookies) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify the cookies that'll be sent with the request as
Cookies: - cookies(String, Object, Object...) - 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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:
D
- decoderConfig(DecoderConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
-
Set the decoder config
- delete() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- delete() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a DELETE request to the statically configured base path.
- delete(String, Object...) - 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, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- delete(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a DELETE request to a
path. - delete(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- delete(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a DELETE request to a
uri. - delete(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- delete(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a DELETE request to a
url. - dontAutomaticallyApplySpringRestDocsMockMvcSupport() - Method in class io.restassured.module.mockmvc.config.MockMvcConfig
-
Instruct REST Assured Mock Mvc not to automatically apply support for
spring-restdocs-mockmvceven 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
ResponseAwareMatcherthat extracts the given path from the response and wraps it in aMatchers.equalTo(Object)matcher. - equalToPath(String) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
-
Creates a
ResponseAwareMatcherthat extracts the given path from the response and wraps it in aMatchers.equalTo(Object)matcher. - everything() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
- everything(boolean) - 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
ResultMatcherto match the response.
F
- formParam(String, Object...) - 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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(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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- formParams(Map<String, ?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify the form parameters that'll be sent with the request.
- formParamsUpdateStrategy() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
- formParamsUpdateStrategy(ParamConfig.UpdateStrategy) - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
-
Set form parameter update strategy to the given value.
G
- get() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- get() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a GET request to the statically configured base path.
- get(String, Object...) - 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, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- get(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a GET request to a
path. - get(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- get(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a GET request to a
uri. - get(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- get(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a GET request to a
url. - getArgumentTypes(Object[]) - Static method in class io.restassured.module.mockmvc.util.ReflectionUtil
- 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
MockHttpServletResponseas 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
MvcResultas 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
- getPathParams() - 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() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- head() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a HEAD request to the statically configured base path.
- head(String, Object...) - 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, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- head(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a HEAD request to a
path. - head(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- head(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a HEAD request to a
uri. - head(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- head(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a HEAD request to a
url. - header(Header) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- header(Header) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify a
Headerto send with the request. - header(String, Object, Object...) - 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:
- 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(Headers) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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: - headers(String, Object, Object...) - 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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:
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
MockHttpServletRequestBuildercreated by REST Assured before it's used to perform the request. - invokeConstructor(String, Object...) - Static method in class io.restassured.module.mockmvc.util.ReflectionUtil
- invokeMethod(Object, String, Class<?>[], Object...) - Static method in class io.restassured.module.mockmvc.util.ReflectionUtil
- invokeMethod(Object, String, Object...) - Static method in class io.restassured.module.mockmvc.util.ReflectionUtil
- 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
- io.restassured.module.mockmvc.util - package io.restassured.module.mockmvc.util
- 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() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Returns the
MockMvcRequestLogSpecificationthat allows you to log different parts of theMockMvcRequestSpecification. - log(LogDetail) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
-
Enabled logging with the specified log detail.
- 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(File) - 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(String) - 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(File) - 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(String) - 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
MockHttpServletRequestBuilderbefore 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
MockHttpServletResponseas 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
MockMvcinstance that REST Assured will use when making requests unless overwritten by aMockMvcRequestSpecification. - mockMvc(MockMvc) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Provide a
MockMvcinstance 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() - 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
- 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
MockMvcConfigthat automatically applies theSecurityMockMvcConfigurerif available in classpath. - 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, 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(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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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, byte[]) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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, Object, String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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, String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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
MvcResultas 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
MockMvcFactorywith the supplied controllers or mock mvc configurers - options() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- options() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a OPTIONS request to the statically configured base path.
- options(String, Object...) - 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, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- options(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a OPTIONS request to a
path. - options(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- options(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a OPTIONS request to a
uri. - options(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- options(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a OPTIONS request to a
url. - 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, 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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(ParamConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
- paramConfig(MockMvcParamConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
-
Set the parameter config
- 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() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestLogSpecification
-
Logs only the parameters of the request.
- params(String, Object, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- patch() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a PATCH request to the statically configured base path.
- patch(String, Object...) - 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, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- patch(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a PATCH request to a
path. - patch(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- patch(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a PATCH request to a
uri. - patch(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- patch(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a PATCH request to a
url. - pathParam(String, Object) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- pathParam(String, Object) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify a path parameter.
- pathParams(String, Object, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- pathParams(String, Object, Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify the path parameters that'll be sent with the request.
- pathParams(Map<String, Object>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- pathParams(Map<String, Object>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify the path parameters that'll be sent with the request.
- pathParamsUpdateStrategy() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
- post() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- post() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a POST request to the statically configured base path.
- post(String, Object...) - 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, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- post(String, Map<String, ?>) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a POST request to a
path. - post(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- post(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a POST request to a
uri. - post(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- post(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a POST request to a
url. - postProcessors() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
- 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
ResultHandlerthat'll be executes after a request has been made. - postProcessors(RequestPostProcessor, RequestPostProcessor...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
An extension point for further initialization of
MockHttpServletRequestin ways not built directly into theMockHttpServletRequestBuilder. - principal(Object) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- principal(Object) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Authenticate using the given principal.
- principal(Object) - Method in interface io.restassured.module.mockmvc.specification.MockMvcAuthenticationSpecification
-
Authenticate using the given principal.
- principal(Principal) - 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(Principal) - 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() - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- put() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a PUT request to the statically configured base path.
- put(String, Object...) - 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(String, Map<String, ?>) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- put(URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- put(URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a PUT request to a
uri. - put(URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- put(URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a PUT request to a
url.
Q
- queryParam(String, Object...) - 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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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(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 class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- queryParams(Map<String, ?>) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Specify the query parameters that'll be sent with the request.
- queryParamsUpdateStrategy() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
- queryParamsUpdateStrategy(ParamConfig.UpdateStrategy) - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
-
Set query parameter update strategy to the given value.
R
- ReflectionUtil - Class in io.restassured.module.mockmvc.util
- 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(Method) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a request to the pre-configured path (by default
http://localhost:8080). - request(Method, String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- request(Method, String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a HTTP request to a
path. - request(Method, URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- request(Method, URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a request to a
uri. - request(Method, URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- request(Method, URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a request to a
url. - request(String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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(String, String, Object...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- request(String, String, Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a custom HTTP request to a
path. - request(String, URI) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- request(String, URI) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a custom HTTP request to a
uri. - request(String, URL) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- request(String, URL) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Perform a custom HTTP request to a
url. - requestParamsUpdateStrategy() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
- requestParamsUpdateStrategy(ParamConfig.UpdateStrategy) - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
-
Set request parameter update strategy to the given value.
- 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() - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
- 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
ResultHandlerthat'll be executes after a request has been made.
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() - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
- sessionAttributesUpdateStrategy(ParamConfig.UpdateStrategy) - Method in class io.restassured.module.mockmvc.config.MockMvcParamConfig
-
Set session parameter update strategy to the given value.
- 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) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Set the session id for this request.
- sessionId(String, String) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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(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.
- setBody(String) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
-
Specify a String request body (such as e.g.
- 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
MockMvcinstance. - setWebAppContextSetup(WebApplicationContext, MockMvcConfigurer...) - Method in class io.restassured.module.mockmvc.specification.MockMvcRequestSpecBuilder
-
Initialize with a
WebApplicationContextthat will be used to create theMockMvcinstance. - 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(Object...) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Build a
MockMvcby registering one or more@Controller's instances and configuring Spring MVC infrastructure programmatically. - standaloneSetup(Object...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Build a
MockMvcby registering one or more@Controller's instances and configuring Spring MVC infrastructure programmatically. - standaloneSetup(MockMvcBuilder) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- standaloneSetup(MockMvcBuilder) - Static method in class io.restassured.module.mockmvc.RestAssuredMockMvc
-
Build a
MockMvcby using a providedAbstractMockMvcBuilderfor configuring Spring MVC infrastructure programmatically. - standaloneSetup(MockMvcBuilder) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Build a
MockMvcby using a providedAbstractMockMvcBuilderfor configuring Spring MVC infrastructure programmatically. - startsWithPath(String) - Static method in class io.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers
-
Creates a
ResponseAwareMatcherthat extracts the given path from the response and wraps it in aMatchers.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) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestAsyncConfigurer
-
Add timeout to async execution - takes precedence over the default setup
- timeout(long, TimeUnit) - 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
MockMvcusing the given, fully initialized, i.e. - webAppContextSetup(WebApplicationContext, MockMvcConfigurer...) - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestSpecification
-
Build a
MockMvcusing 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() - 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() - Method in interface io.restassured.module.mockmvc.specification.MockMvcRequestAsyncConfigurer
-
Syntactic sugar
- with(RequestPostProcessor, RequestPostProcessor...) - Method in class io.restassured.module.mockmvc.internal.MockMvcRequestSpecificationImpl
- 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.
X
- xmlConfig(XmlConfig) - Method in class io.restassured.module.mockmvc.config.RestAssuredMockMvcConfig
-
Set the Xml config.
All Classes and Interfaces|All Packages