java.lang.Object
net.serenitybdd.rest.RestUtility
User: YamStranger
Date: 4/5/16
Time: 8:27 PM
This class directly calls some methods from SerenityRest related only to
creating some predefined objects like arguments, configs, auth schemes and so on,
can be used for better readability of code.
There is no difference what to use this class or SerenityRest.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.restassured.authentication.AuthenticationSchemestatic io.restassured.authentication.AuthenticationSchemecertificate(String certURL, String password) static io.restassured.authentication.AuthenticationSchemecertificate(String certURL, String password, io.restassured.authentication.CertificateAuthSettings certificateAuthSettings) static io.restassured.authentication.AuthenticationSchemestatic io.restassured.authentication.AuthenticationSchemestatic io.restassured.authentication.AuthenticationSchemestatic io.restassured.config.RestAssuredConfigstatic io.restassured.authentication.AuthenticationSchemestatic io.restassured.authentication.AuthenticationSchemeoauth(String consumerKey, String consumerSecret, String accessToken, String secretToken, io.restassured.authentication.OAuthSignature signature) static io.restassured.authentication.AuthenticationSchemestatic io.restassured.authentication.AuthenticationSchemestatic io.restassured.authentication.PreemptiveAuthProviderstatic List<io.restassured.specification.Argument> static List<io.restassured.specification.Argument> withArguments(Object firstArgument, Object... additionalArguments) static List<io.restassured.specification.Argument> static List<io.restassured.specification.Argument>
-
Constructor Details
-
RestUtility
public RestUtility()
-
-
Method Details
-
withArguments
-
withNoArguments
-
withArgs
-
withNoArgs
-
oauth2
-
certificate
-
certificate
-
form
-
form
-
preemptive
public static io.restassured.authentication.PreemptiveAuthProvider preemptive() -
oauth2
public static io.restassured.authentication.AuthenticationScheme oauth2(String accessToken, io.restassured.authentication.OAuthSignature signature) -
basic
-
newConfig
public static io.restassured.config.RestAssuredConfig newConfig() -
oauth
-
oauth
-
digest
-