public class Request
Class for creating request. You can extend it using your own endpoint class.
| Constructor and Description |
|---|
Request()
Class for creating request. You can extend it using your own endpoint class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHost() |
OAuth1 |
getOAuth1() |
OAuth2 |
getOAuth2() |
java.lang.String |
getProtocol() |
io.restassured.specification.RequestSpecification |
getRequestSpecification() |
Response |
send(io.restassured.http.Method method,
com.github.aivancioglo.resttest.setters.Setter setters)
Sending your requestSpecification.
|
Response |
send(io.restassured.http.Method method,
java.lang.String path,
com.github.aivancioglo.resttest.setters.Setter setters)
Sending your requestSpecification.
|
void |
set(com.github.aivancioglo.resttest.setters.Setter setters)
Set your own setters.
|
void |
setHost(java.lang.String p) |
void |
setProtocol(java.lang.String p) |
public Request()
Class for creating request. You can extend it using your own endpoint class.
public io.restassured.specification.RequestSpecification getRequestSpecification()
public OAuth1 getOAuth1()
public OAuth2 getOAuth2()
public java.lang.String getProtocol()
public void setProtocol(java.lang.String p)
public java.lang.String getHost()
public void setHost(java.lang.String p)
public void set(com.github.aivancioglo.resttest.setters.Setter setters)
Set your own setters.
setters - for your request.public Response send(io.restassured.http.Method method, com.github.aivancioglo.resttest.setters.Setter setters)
Sending your requestSpecification.
method - of your requestSpecification.setters - are setting up requestSpecification specification.public Response send(io.restassured.http.Method method, java.lang.String path, com.github.aivancioglo.resttest.setters.Setter setters)
Sending your requestSpecification.
method - of your request.path - is a path param.setters - are setting up request specification.