Uses of Class
com.shaft.api.RequestBuilder
Packages that use RequestBuilder
-
Uses of RequestBuilder in com.shaft.api
Methods in com.shaft.api that return RequestBuilderModifier and TypeMethodDescriptionAppend a cookie to the current session to be used in the current and all the following requests.Append a header to the current session to be used in the current and all the following requests.RequestBuilder.appendDefaultContentCharsetToContentTypeIfUndefined
(boolean appendDefaultContentCharsetToContentTypeIfUndefined) Tells whether REST Assured should automatically append the content charset to the content-type header if not defined explicitly.RestActions.buildNewRequest
(String serviceName, RestActions.RequestType requestType) static RequestBuilder
RestActions.buildNewRequest
(String serviceURI, String serviceName, RestActions.RequestType requestType) RequestBuilder.enableUrlEncoding
(boolean urlEncodingEnabled) Tells whether REST Assured should automatically encode the URI if not defined explicitly.RequestBuilder.setAuthentication
(String username, String password, RequestBuilder.AuthenticationType authenticationType) Set the authentication method that will be used by the API request that you're currently building.RequestBuilder.setContentType
(io.restassured.http.ContentType contentType) Sets the content type for the API request that you're currently building.RequestBuilder.setContentType
(String contentType) Sets the content type for the API request that you're currently building.RequestBuilder.setParameters
(List<List<Object>> parameters, RestActions.ParametersType parametersType) Sets the parameters (if any) for the API request that you're currently building.RequestBuilder.setRequestBody
(Object requestBody) Sets the body (if any) for the API request that you're currently building.RequestBuilder.setRequestBodyFromFile
(String relativeFilePath) Sets the body (if any) for the API request that you're currently building.RequestBuilder.setTargetStatusCode
(int targetStatusCode) Sets the expected target status code for the API request that you're currently building.RequestBuilder.setUrlArguments
(String urlArguments) Sets the url arguments (if any) for the API request that you're currently building.RequestBuilder.useRelaxedHTTPSValidation()
set useRelaxedHTTPSValidation configuration to trust all hosts regardless if the SSL certificate is invalid in the request builder 'SSL' is the protocol name by defaultRequestBuilder.useRelaxedHTTPSValidation
(String protocol) set useRelaxedHTTPSValidation configuration to trust all hosts regardless if the SSL certificate is invalid in the request builder * -
Uses of RequestBuilder in com.shaft.driver
Methods in com.shaft.driver that return RequestBuilderModifier and TypeMethodDescription