Uses of Class
io.restassured.module.webtestclient.specification.WebTestClientRequestSpecBuilder
Packages that use WebTestClientRequestSpecBuilder
-
Uses of WebTestClientRequestSpecBuilder in io.restassured.module.webtestclient.specification
Methods in io.restassured.module.webtestclient.specification that return WebTestClientRequestSpecBuilderModifier and TypeMethodDescriptionWebTestClientRequestSpecBuilder.addAttribute(String attributeName, Object attributeValue) Add request attributeWebTestClientRequestSpecBuilder.addAttributes(Map<String, ?> attributesMap) Add request attributesWebTestClientRequestSpecBuilder.addCookie(io.restassured.http.Cookie cookie) Add a detailed cookieAdd a cookie to be sent with the request.WebTestClientRequestSpecBuilder.addCookies(Map<String, ?> cookies) Add cookies to be sent with the request as Map e.g:WebTestClientRequestSpecBuilder.addFormParam(String parameterName, Object... parameterValues) WebTestClientRequestSpecBuilder.addFormParam(String parameterName, Collection<?> parameterValues) WebTestClientRequestSpecBuilder.addFormParams(Map<String, ?> parametersMap) WebTestClientRequestSpecBuilder.addHeader(io.restassured.http.Header header) Add a header to be sent with the request.Add a header to be sent with the requestWebTestClientRequestSpecBuilder.addHeaders(Map<String, String> headers) Add headers to be sent with the request as Map.WebTestClientRequestSpecBuilder.addMultiPart(File file) Specify a file to upload to the server using multi-part form data uploading.WebTestClientRequestSpecBuilder.addMultiPart(String controlName, File file) Specify a file to upload to the server using multi-part form data uploading with a specific control name.WebTestClientRequestSpecBuilder.addMultiPart(String controlName, File file, String mimeType) Specify a file to upload to the server using multi-part form data uploading with a specific control name and content-type.WebTestClientRequestSpecBuilder.addMultiPart(String controlName, String contentBody) Specify a string to send to the server using multi-part form data.WebTestClientRequestSpecBuilder.addMultiPart(String controlName, String fileName, byte[] bytes) Specify a byte-array to upload to the server using multi-part form data.WebTestClientRequestSpecBuilder.addMultiPart(String controlName, String fileName, byte[] bytes, String mimeType) Specify a byte-array to upload to the server using multi-part form data.WebTestClientRequestSpecBuilder.addMultiPart(String controlName, String fileName, InputStream stream) Specify an inputstream to upload to the server using multi-part form data.WebTestClientRequestSpecBuilder.addMultiPart(String controlName, String fileName, InputStream stream, String mimeType) Specify an inputstream to upload to the server using multi-part form data.WebTestClientRequestSpecBuilder.addMultiPart(String controlName, String contentBody, String mimeType) Specify a string to send to the server using multi-part form data with a specific mime-type.WebTestClientRequestSpecBuilder.addParam(String parameterName, Collection<?> parameterValues) WebTestClientRequestSpecBuilder.addPathParam(String parameterName, Object parameterValue) Specify a path parameter.WebTestClientRequestSpecBuilder.addPathParams(String firstParameterName, Object firstParameterValue, Object... parameterNameValuePairs) Specify multiple path parameter name-value pairs.WebTestClientRequestSpecBuilder.addPathParams(Map<String, Object> parameterNameValuePairs) Specify multiple path parameter name-value pairs.WebTestClientRequestSpecBuilder.addQueryParam(String parameterName, Object... parameterValues) WebTestClientRequestSpecBuilder.addQueryParam(String parameterName, Collection<?> parameterValues) WebTestClientRequestSpecBuilder.addQueryParams(Map<String, ?> parametersMap) WebTestClientRequestSpecBuilder.addWebTestClientRequestSpecification(WebTestClientRequestSpecification specification) Merge this builder with settings from another specification.WebTestClientRequestSpecBuilder.and()Returns the same WebTestClientRequestSpecBuilder instance for syntactic sugar.WebTestClientRequestSpecBuilder.log(io.restassured.filter.log.LogDetail logDetail) Enabled logging with the specified log detail.WebTestClientRequestSpecBuilder.setBasePath(String basePath) Set the basePath property of the WebTestClientRequestSpecBuilder instead of using static field RestAssuredWebTestClient.basePath.WebTestClientRequestSpecBuilder.setBody(byte[] body) Specify a byte array request body to 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.WebTestClientRequestSpecBuilder.setBody(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.setConfig(RestAssuredWebTestClientConfig config) Define a configuration for redirection settings and http client parameters.WebTestClientRequestSpecBuilder.setContentType(io.restassured.http.ContentType contentType) Specify the content type of the request.WebTestClientRequestSpecBuilder.setContentType(String contentType) Specify the content type of the request as string.WebTestClientRequestSpecBuilder.setSessionId(String sessionIdValue) Set the session id for this request.WebTestClientRequestSpecBuilder.setSessionId(String sessionIdName, String sessionIdValue) Set the session id name and value for this request.WebTestClientRequestSpecBuilder.setStandaloneSetup(Object... controllers) The standalone setup to be used by supplying a set of controllers.WebTestClientRequestSpecBuilder.setStandaloneSetup(org.springframework.test.web.reactive.server.WebTestClient.Builder builder) Initialize with a WebTestClientBuilder that will be used to create theWebTestClientinstance.WebTestClientRequestSpecBuilder.setWebAppContextSetup(org.springframework.web.context.WebApplicationContext context, org.springframework.test.web.reactive.server.WebTestClientConfigurer... WebTestClientConfigurers) Initialize with aWebApplicationContextthat will be used to create theWebTestClientinstance.WebTestClientRequestSpecBuilder.setWebTestClient(org.springframework.test.web.reactive.server.WebTestClient webTestClient) The webTestClient instance to use.