Uses of Interface
io.restassured.module.webtestclient.specification.WebTestClientRequestSpecification
Packages that use WebTestClientRequestSpecification
Package
Description
-
Uses of WebTestClientRequestSpecification in io.restassured.module.webtestclient
Fields in io.restassured.module.webtestclient declared as WebTestClientRequestSpecificationModifier and TypeFieldDescriptionRestAssuredWebTestClient.requestSpecificationSpecify a default request specification that will be sent with each request.Methods in io.restassured.module.webtestclient that return WebTestClientRequestSpecificationModifier and TypeMethodDescriptionRestAssuredWebTestClient.given()This is usually the entry-point of the API if you need to specify parameters or a body in the request.RestAssuredWebTestClient.with()This is usually the entry-point of the API if you need to specify parameters or a body in the request. -
Uses of WebTestClientRequestSpecification in io.restassured.module.webtestclient.internal
Classes in io.restassured.module.webtestclient.internal that implement WebTestClientRequestSpecificationMethods in io.restassured.module.webtestclient.internal that return WebTestClientRequestSpecificationModifier and TypeMethodDescriptionWebTestClientRequestSpecificationImpl.accept(io.restassured.http.ContentType contentType) WebTestClientRequestSpecificationImpl.accept(org.springframework.http.MediaType... mediaTypes) WebTestClientRequestLogSpecificationImpl.all()WebTestClientRequestLogSpecificationImpl.all(boolean shouldPrettyPrint) WebTestClientRequestSpecificationImpl.and()WebTestClientRequestSpecificationImpl.applicationContextSetup(org.springframework.context.ApplicationContext context, org.springframework.test.web.reactive.server.WebTestClientConfigurer... configurers) WebTestClientRequestSpecificationImpl.attributes(Map<String, ?> attributesMap) WebTestClientRequestLogSpecificationImpl.body()WebTestClientRequestLogSpecificationImpl.body(boolean shouldPrettyPrint) WebTestClientRequestSpecificationImpl.body(byte[] body) WebTestClientRequestSpecificationImpl.body(Object object, io.restassured.mapper.ObjectMapper mapper) WebTestClientRequestSpecificationImpl.body(Object object, io.restassured.mapper.ObjectMapperType mapperType) WebTestClientRequestSpecificationImpl.config(SpecificationConfig config) WebTestClientRequestSpecificationImpl.config(RestAssuredWebTestClientConfig config) WebTestClientRequestSpecificationImpl.contentType(io.restassured.http.ContentType contentType) WebTestClientRequestSpecificationImpl.contentType(String contentType) WebTestClientRequestSpecificationImpl.contentType(org.springframework.http.MediaType mediaType) WebTestClientRequestSpecificationImpl.cookie(io.restassured.http.Cookie cookie) WebTestClientRequestSpecificationImpl.cookie(String cookieName, Object cookieValue, Object... additionalValues) WebTestClientRequestLogSpecificationImpl.cookies()WebTestClientRequestSpecificationImpl.cookies(io.restassured.http.Cookies cookies) WebTestClientRequestSpecificationImpl.cookies(String firstCookieName, Object firstCookieValue, Object... cookieNameValuePairs) WebTestClientRequestLogSpecificationImpl.everything()WebTestClientRequestLogSpecificationImpl.everything(boolean shouldPrettyPrint) WebTestClientRequestSpecificationImpl.formParam(String parameterName, Collection<?> parameterValues) WebTestClientRequestSpecificationImpl.formParams(String firstParameterName, Object firstParameterValue, Object... parameterNameValuePairs) WebTestClientRequestSpecificationImpl.formParams(Map<String, ?> parametersMap) WebTestClientRequestSpecificationImpl.header(io.restassured.http.Header header) WebTestClientRequestSpecificationImpl.header(String headerName, Object headerValue, Object... additionalHeaderValues) WebTestClientRequestLogSpecificationImpl.headers()WebTestClientRequestSpecificationImpl.headers(io.restassured.http.Headers headers) WebTestClientRequestSpecificationImpl.headers(String firstHeaderName, Object firstHeaderValue, Object... headerNameValuePairs) WebTestClientRequestLogSpecificationImpl.ifValidationFails()WebTestClientRequestLogSpecificationImpl.ifValidationFails(io.restassured.filter.log.LogDetail logDetail) WebTestClientRequestLogSpecificationImpl.ifValidationFails(io.restassured.filter.log.LogDetail logDetail, boolean shouldPrettyPrint) WebTestClientRequestSpecificationImpl.multiPart(String controlName, String fileName, byte[] bytes, String mimeType) WebTestClientRequestSpecificationImpl.multiPart(String controlName, String fileName, InputStream stream) WebTestClientRequestSpecificationImpl.multiPart(String controlName, String fileName, InputStream stream, String mimeType) WebTestClientRequestSpecificationImpl.multiPart(String controlName, String filename, Object object, String mimeType) WebTestClientRequestSpecificationImpl.multiPart(String controlName, String contentBody, String mimeType) WebTestClientRequestSpecificationImpl.param(String parameterName, Collection<?> parameterValues) WebTestClientRequestLogSpecificationImpl.params()WebTestClientRequestSpecificationImpl.params(String firstParameterName, Object firstParameterValue, Object... parameterNameValuePairs) WebTestClientRequestSpecificationImpl.pathParams(String firstParameterName, Object firstParameterValue, Object... parameterNameValuePairs) WebTestClientRequestSpecificationImpl.pathParams(Map<String, Object> parametersMap) WebTestClientRequestSpecificationImpl.queryParam(String parameterName, Object... parameterValues) WebTestClientRequestSpecificationImpl.queryParam(String parameterName, Collection<?> parameterValues) WebTestClientRequestSpecificationImpl.queryParams(String firstParameterName, Object firstParameterValue, Object... parameterNameValuePairs) WebTestClientRequestSpecificationImpl.queryParams(Map<String, ?> parametersMap) WebTestClientRequestSpecificationImpl.spec(WebTestClientRequestSpecification requestSpecificationToMerge) WebTestClientRequestSpecificationImpl.standaloneSetup(Object... controllerOrWebTestClientConfigurer) WebTestClientRequestSpecificationImpl.standaloneSetup(org.springframework.test.web.reactive.server.WebTestClient.Builder builder) WebTestClientRequestSpecificationImpl.standaloneSetup(org.springframework.web.reactive.function.server.RouterFunction routerFunction, org.springframework.test.web.reactive.server.WebTestClientConfigurer... configurers) WebTestClientRequestSpecificationImpl.webAppContextSetup(org.springframework.web.context.WebApplicationContext context, org.springframework.test.web.reactive.server.WebTestClientConfigurer... configurers) WebTestClientRequestSpecificationImpl.webTestClient(org.springframework.test.web.reactive.server.WebTestClient webTestClient) Methods in io.restassured.module.webtestclient.internal with parameters of type WebTestClientRequestSpecificationModifier and TypeMethodDescriptionWebTestClientRequestSpecificationImpl.spec(WebTestClientRequestSpecification requestSpecificationToMerge) Constructors in io.restassured.module.webtestclient.internal with parameters of type WebTestClientRequestSpecificationModifierConstructorDescriptionWebTestClientRequestSpecificationImpl(WebTestClientFactory webTestClientFactory, RestAssuredWebTestClientConfig config, String basePath, WebTestClientRequestSpecification requestSpecification, io.restassured.specification.ResponseSpecification responseSpecification) -
Uses of WebTestClientRequestSpecification in io.restassured.module.webtestclient.specification
Methods in io.restassured.module.webtestclient.specification that return WebTestClientRequestSpecificationModifier and TypeMethodDescriptionWebTestClientRequestSpecification.accept(io.restassured.http.ContentType contentType) Specify the accept header of the request.Specify the accept header of the request.WebTestClientRequestSpecification.accept(org.springframework.http.MediaType... mediaTypes) Specify the accept header of the request.WebTestClientRequestSpecification.and()Syntactic sugarWebTestClientRequestSpecification.applicationContextSetup(org.springframework.context.ApplicationContext context, org.springframework.test.web.reactive.server.WebTestClientConfigurer... configurers) Specify a single-value request attributeWebTestClientRequestSpecification.attributes(Map<String, ?> attributesMap) Specify request attributes as a mapWebTestClientRequestSpecification.body(byte[] body) Specify a byte array request body that'll be sent with the request.Specify file content that'll be sent with the request.Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request.Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper.WebTestClientRequestSpecification.body(Object object, io.restassured.mapper.ObjectMapperType mapperType) 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.Specify a String request body (such as e.g.WebTestClientRequestSpecBuilder.build()Build the request specification.WebTestClientRequestSpecification.config(SpecificationConfig config) WebTestClientRequestSpecification.config(RestAssuredWebTestClientConfig config) Define a REST Assured WebTestClient configuration.WebTestClientRequestSpecification.contentType(io.restassured.http.ContentType contentType) Specify the content type of the request.WebTestClientRequestSpecification.contentType(String contentType) Specify the content type of the request.WebTestClientRequestSpecification.contentType(org.springframework.http.MediaType mediaType) Specify the content type of the request.WebTestClientRequestSpecification.cookie(io.restassured.http.Cookie cookie) Specify aCookieto send with the request.WebTestClientRequestSpecification.cookie(String cookieName, Object value, Object... additionalValues) Specify a cookie that'll be sent with the request e.g:WebTestClientRequestSpecification.cookies(io.restassured.http.Cookies cookies) Specify the cookies that'll be sent with the request asCookies:WebTestClientRequestSpecification.cookies(String firstCookieName, Object firstCookieValue, Object... cookieNameValuePairs) Specify the cookies that'll be sent with the request.Specify the cookies that'll be sent with the request as Map e.g:Specify a form parameter that'll be sent with the request.WebTestClientRequestSpecification.formParam(String parameterName, Collection<?> parameterValues) Specify a multi-value form parameter that'll be sent with the request e.g:WebTestClientRequestSpecification.formParams(String firstParameterName, Object firstParameterValue, Object... parameterNameValuePairs) Specify the form parameters that'll be sent with the request.WebTestClientRequestSpecification.formParams(Map<String, ?> parametersMap) Specify the form parameters that'll be sent with the request.WebTestClientRequestSpecification.header(io.restassured.http.Header header) Specify aHeaderto send with the request.WebTestClientRequestSpecification.header(String headerName, Object headerValue, Object... additionalHeaderValues) Specify a header that'll be sent with the request e.g:WebTestClientRequestSpecification.headers(io.restassured.http.Headers headers) Specify the headers that'll be sent with the request asHeaders, e.g:WebTestClientRequestSpecification.headers(String firstHeaderName, Object firstHeaderValue, Object... headerNameValuePairs) Specify the headers that'll be sent with the request.Specify the headers that'll be sent with the request as Map e.g:Specify a file to upload to the server using multi-part form data uploading.Specify a file to upload to the server using multi-part form data uploading with a specific control name.Specify a file to upload to the server using multi-part form data uploading with a specific control name and mime-type.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.Specify an object that will be serialized and uploaded to the server using multi-part form data uploading with a specific control name.Specify a string to send to the server using multi-part form data.Specify a byte-array to upload to the server using multi-part form data.WebTestClientRequestSpecification.multiPart(String controlName, String fileName, byte[] bytes, String mimeType) Specify a byte-array to upload to the server using multi-part form data.WebTestClientRequestSpecification.multiPart(String controlName, String fileName, InputStream stream) Specify an inputstream to upload to the server using multi-part form data.WebTestClientRequestSpecification.multiPart(String controlName, String fileName, InputStream stream, String mimeType) Specify an inputstream to upload to the server using multi-part form data.WebTestClientRequestSpecification.multiPart(String controlName, String filename, Object object, String mimeType) Specify an object that will be serialized and uploaded to the server using multi-part form data uploading with a specific control name.WebTestClientRequestSpecification.multiPart(String controlName, String contentBody, String mimeType) Specify a string to send to the server using multi-part form data with a specific mime-type.Specify a parameter that'll be sent with the request e.g:WebTestClientRequestSpecification.param(String parameterName, Collection<?> parameterValues) Specify a multi-value parameter that'll be sent with the request e.g:WebTestClientRequestLogSpecification.params()Logs only the parameters of the request.WebTestClientRequestSpecification.params(String firstParameterName, Object firstParameterValue, Object... parameterNameValuePairs) Specify the parameters that'll be sent with the request.Specify the parameters that'll be sent with the request as Map e.g:Specify a path parameter.WebTestClientRequestSpecification.pathParams(String firstParameterName, Object firstParameterValue, Object... parameterNameValuePairs) Specify the path parameters that'll be sent with the request.WebTestClientRequestSpecification.pathParams(Map<String, Object> parametersMap) Specify the path parameters that'll be sent with the request.WebTestClientRequestSpecification.queryParam(String parameterName, Object... parameterValues) Specify a query parameter that'll be sent with the request.WebTestClientRequestSpecification.queryParam(String parameterName, Collection<?> parameterValues) Specify a multi-value query parameter that'll be sent with the request e.g:WebTestClientRequestSpecification.queryParams(String firstParameterName, Object firstParameterValue, Object... parameterNameValuePairs) Specify the query parameters that'll be sent with the request.WebTestClientRequestSpecification.queryParams(Map<String, ?> parametersMap) Specify the query parameters that'll be sent with the request.Set the session id for this request.Set the session id name and value for this request.WebTestClientRequestSpecification.spec(WebTestClientRequestSpecification requestSpecificationToMerge) Add request data from a pre-defined specification.WebTestClientRequestSpecification.standaloneSetup(Object... controllerOrWebTestClientConfigurer) Build aWebTestClientby registering one or more@Controller's instances and configuring Spring infrastructure programmatically.WebTestClientRequestSpecification.standaloneSetup(org.springframework.test.web.reactive.server.WebTestClient.Builder builder) Build aWebTestClientby using a providedAbstractWebTestClientBuilderfor configuring Spring infrastructure programmatically.WebTestClientRequestSpecification.standaloneSetup(org.springframework.web.reactive.function.server.RouterFunction routerFunction, org.springframework.test.web.reactive.server.WebTestClientConfigurer... configurers) WebTestClientRequestSpecification.webAppContextSetup(org.springframework.web.context.WebApplicationContext context, org.springframework.test.web.reactive.server.WebTestClientConfigurer... configurers) Build aWebTestClientusing the given, fully initialized, i.e.WebTestClientRequestSpecification.webTestClient(org.springframework.test.web.reactive.server.WebTestClient webTestClient) Provide aWebTestClientinstance to that REST Assured will use when making this request.Methods in io.restassured.module.webtestclient.specification with parameters of type WebTestClientRequestSpecificationModifier and TypeMethodDescriptionWebTestClientRequestSpecBuilder.addWebTestClientRequestSpecification(WebTestClientRequestSpecification specification) Merge this builder with settings from another specification.WebTestClientRequestSpecification.spec(WebTestClientRequestSpecification requestSpecificationToMerge) Add request data from a pre-defined specification.