- 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
-
- 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.
- 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
-
- 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.
- 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.
- 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
-
- 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.