public static class RestTest.Companion
| Modifier and Type | Method and Description |
|---|---|
Response |
delete(com.github.aivancioglo.resttest.setters.Setter setters)
Making DELETE request.
|
Response |
delete(java.lang.String url,
com.github.aivancioglo.resttest.setters.Setter setters)
Making DELETE request.
|
Response |
get(com.github.aivancioglo.resttest.setters.Setter setters)
Making GET request.
|
Response |
get(java.lang.String url,
com.github.aivancioglo.resttest.setters.Setter setters)
Making GET request.
|
Response |
head(com.github.aivancioglo.resttest.setters.Setter setters)
Making HEAD request.
|
Response |
head(java.lang.String url,
com.github.aivancioglo.resttest.setters.Setter setters)
Making HEAD request.
|
Response |
options(com.github.aivancioglo.resttest.setters.Setter setters)
Making OPTIONS request.
|
Response |
options(java.lang.String url,
com.github.aivancioglo.resttest.setters.Setter setters)
Making OPTIONS request.
|
Response |
patch(com.github.aivancioglo.resttest.setters.Setter setters)
Making PATCH request.
|
Response |
patch(java.lang.String url,
com.github.aivancioglo.resttest.setters.Setter setters)
Making PATCH request.
|
Repeater |
perform(int timeout,
int every,
int tries)
Deprecated.
|
Repeater |
perform(int timeout,
int every)
Deprecated.
|
Repeater |
perform(int timeout)
Deprecated.
|
Repeater |
perform()
Deprecated.
|
void |
perform(int timeout,
int every,
int tries,
java.lang.Runnable request)
Deprecated.
|
Repeater |
perform(int timeout,
double every)
Deprecated.
|
void |
perform(int timeout,
java.lang.Runnable request)
Deprecated.
|
void |
perform(int timeout,
int every,
java.lang.Runnable request)
Deprecated.
|
void |
perform(int timeout,
double every,
java.lang.Runnable request)
Deprecated.
|
Repeater |
perform(int timeout,
double every,
int tries)
Deprecated.
|
void |
perform(int timeout,
double every,
int tries,
java.lang.Runnable request)
Deprecated.
|
Repeater |
perform(double timeout)
Deprecated.
|
void |
perform(double timeout,
java.lang.Runnable request)
Deprecated.
|
Repeater |
perform(double timeout,
int every)
Deprecated.
|
void |
perform(double timeout,
int every,
java.lang.Runnable request)
Deprecated.
|
Repeater |
perform(double timeout,
double every)
Deprecated.
|
void |
perform(double timeout,
double every,
java.lang.Runnable request)
Deprecated.
|
Repeater |
perform(double timeout,
double every,
int tries)
Deprecated.
|
void |
perform(double timeout,
double every,
int tries,
java.lang.Runnable request)
Deprecated.
|
Response |
post(com.github.aivancioglo.resttest.setters.Setter setters)
Making POST request.
|
Response |
post(java.lang.String url,
com.github.aivancioglo.resttest.setters.Setter setters)
Making POST request.
|
Response |
put(com.github.aivancioglo.resttest.setters.Setter setters)
Making PUT request.
|
Response |
put(java.lang.String url,
com.github.aivancioglo.resttest.setters.Setter setters)
Making PUT request.
|
void |
registerParser(java.lang.String contentType,
Parser parser)
Register a custom content-type to be parsed using a predefined parser.
|
void |
registerParser(ContentType contentType,
Parser parser)
Register a custom content-type to be parsed using a predefined parser.
|
Repeater |
repeat(int timeout,
int every,
int tries)
Use this function, to create Repeater instance for request repeating.
|
Repeater |
repeat(int timeout,
int every)
Use this function, to create Repeater instance for request repeating.
|
Repeater |
repeat(int timeout)
Use this function, to create Repeater instance for request repeating.
|
Repeater |
repeat()
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(int timeout,
int every,
int tries,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(int timeout,
int every,
int tries,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
|
Repeater |
repeat(int timeout,
double every)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(int timeout,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(int timeout,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(int timeout,
int every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(int timeout,
int every,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(int timeout,
double every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(int timeout,
double every,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
|
Repeater |
repeat(int timeout,
double every,
int tries)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(int timeout,
double every,
int tries,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(int timeout,
double every,
int tries,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
|
Repeater |
repeat(double timeout)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(double timeout,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(double timeout,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
|
Repeater |
repeat(double timeout,
int every)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(double timeout,
int every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(double timeout,
int every,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
|
Repeater |
repeat(double timeout,
double every)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(double timeout,
double every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(double timeout,
double every,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
|
Repeater |
repeat(double timeout,
double every,
int tries)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(double timeout,
double every,
int tries,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(double timeout,
double every,
int tries,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(java.lang.Runnable runnable)
Use this function, to create Repeater instance for request repeating.
|
void |
repeat(kotlin.jvm.functions.Function0<kotlin.Unit> runnable)
Use this function, to create Repeater instance for request repeating.
|
Response |
trace(com.github.aivancioglo.resttest.setters.Setter setters)
Making TRACE request.
|
Response |
trace(java.lang.String url,
com.github.aivancioglo.resttest.setters.Setter setters)
Making TRACE request.
|
void |
unregisterParser(java.lang.String contentType)
Unregister the parser associated with the provided content-type.
|
void |
unregisterParser(ContentType contentType)
Unregister the parser associated with the provided content-type.
|
public Repeater perform(int timeout, int every, int tries)
Use this function, to create Repeater instance for request repeating.
public Repeater perform(int timeout, int every)
Use this function, to create Repeater instance for request repeating.
public Repeater perform(int timeout)
Use this function, to create Repeater instance for request repeating.
public Repeater perform()
Use this function, to create Repeater instance for request repeating.
public void perform(int timeout,
int every,
int tries,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public Repeater perform(int timeout, double every)
Use this function, to create Repeater instance for request repeating.
public void perform(int timeout,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void perform(int timeout,
int every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void perform(int timeout,
double every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public Repeater perform(int timeout, double every, int tries)
Use this function, to create Repeater instance for request repeating.
public void perform(int timeout,
double every,
int tries,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public Repeater perform(double timeout)
Use this function, to create Repeater instance for request repeating.
public void perform(double timeout,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public Repeater perform(double timeout, int every)
Use this function, to create Repeater instance for request repeating.
public void perform(double timeout,
int every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public Repeater perform(double timeout, double every)
Use this function, to create Repeater instance for request repeating.
public void perform(double timeout,
double every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public Repeater perform(double timeout, double every, int tries)
Use this function, to create Repeater instance for request repeating.
public void perform(double timeout,
double every,
int tries,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public Repeater repeat(int timeout, int every, int tries)
Use this function, to create Repeater instance for request repeating.
public Repeater repeat(int timeout, int every)
Use this function, to create Repeater instance for request repeating.
public Repeater repeat(int timeout)
Use this function, to create Repeater instance for request repeating.
public Repeater repeat()
Use this function, to create Repeater instance for request repeating.
public void repeat(int timeout,
int every,
int tries,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void repeat(int timeout,
int every,
int tries,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
public Repeater repeat(int timeout, double every)
Use this function, to create Repeater instance for request repeating.
public void repeat(int timeout,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void repeat(int timeout,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
public void repeat(int timeout,
int every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void repeat(int timeout,
int every,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
public void repeat(int timeout,
double every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void repeat(int timeout,
double every,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
public Repeater repeat(int timeout, double every, int tries)
Use this function, to create Repeater instance for request repeating.
public void repeat(int timeout,
double every,
int tries,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void repeat(int timeout,
double every,
int tries,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
public Repeater repeat(double timeout)
Use this function, to create Repeater instance for request repeating.
public void repeat(double timeout,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void repeat(double timeout,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
public Repeater repeat(double timeout, int every)
Use this function, to create Repeater instance for request repeating.
public void repeat(double timeout,
int every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void repeat(double timeout,
int every,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
public Repeater repeat(double timeout, double every)
Use this function, to create Repeater instance for request repeating.
public void repeat(double timeout,
double every,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void repeat(double timeout,
double every,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
public Repeater repeat(double timeout, double every, int tries)
Use this function, to create Repeater instance for request repeating.
public void repeat(double timeout,
double every,
int tries,
java.lang.Runnable request)
Use this function, to create Repeater instance for request repeating.
public void repeat(double timeout,
double every,
int tries,
kotlin.jvm.functions.Function0<kotlin.Unit> request)
Use this function, to create Repeater instance for request repeating.
public void repeat(java.lang.Runnable runnable)
Use this function, to create Repeater instance for request repeating.
public void repeat(kotlin.jvm.functions.Function0<kotlin.Unit> runnable)
Use this function, to create Repeater instance for request repeating.
public Response get(com.github.aivancioglo.resttest.setters.Setter setters)
Making GET request.
setters - Setters are setting up request specification.public Response get(java.lang.String url, com.github.aivancioglo.resttest.setters.Setter setters)
Making GET request.
url - of your request.setters - Setters are setting up request specification.public Response post(com.github.aivancioglo.resttest.setters.Setter setters)
Making POST request.
setters - Setters are setting up request specification.public Response post(java.lang.String url, com.github.aivancioglo.resttest.setters.Setter setters)
Making POST request.
url - of your request.setters - Setters are setting up request specification.public Response put(com.github.aivancioglo.resttest.setters.Setter setters)
Making PUT request.
setters - Setters are setting up request specification.public Response put(java.lang.String url, com.github.aivancioglo.resttest.setters.Setter setters)
Making PUT request.
url - of your request.setters - Setters are setting up request specification.public Response patch(com.github.aivancioglo.resttest.setters.Setter setters)
Making PATCH request.
setters - Setters are setting up request specification.public Response patch(java.lang.String url, com.github.aivancioglo.resttest.setters.Setter setters)
Making PATCH request.
url - of your request.setters - Setters are setting up request specification.public Response delete(com.github.aivancioglo.resttest.setters.Setter setters)
Making DELETE request.
setters - Setters are setting up request specification.public Response delete(java.lang.String url, com.github.aivancioglo.resttest.setters.Setter setters)
Making DELETE request.
url - of your request.setters - Setters are setting up request specification.public Response options(com.github.aivancioglo.resttest.setters.Setter setters)
Making OPTIONS request.
setters - Setters are setting up request specification.public Response options(java.lang.String url, com.github.aivancioglo.resttest.setters.Setter setters)
Making OPTIONS request.
url - of your request.setters - Setters are setting up request specification.public Response head(com.github.aivancioglo.resttest.setters.Setter setters)
Making HEAD request.
setters - Setters are setting up request specification.public Response head(java.lang.String url, com.github.aivancioglo.resttest.setters.Setter setters)
Making HEAD request.
url - of your request.setters - Setters are setting up request specification.public Response trace(com.github.aivancioglo.resttest.setters.Setter setters)
Making TRACE request.
setters - Setters are setting up request specification.public Response trace(java.lang.String url, com.github.aivancioglo.resttest.setters.Setter setters)
Making TRACE request.
url - of your request.setters - Setters are setting up request specification.public void registerParser(java.lang.String contentType,
Parser parser)
Register a custom content-type to be parsed using a predefined parser.
contentType - Content type of your request.parser - The parser to use when verifying the response.public void registerParser(ContentType contentType, Parser parser)
Register a custom content-type to be parsed using a predefined parser.
contentType - Content type of your request.parser - The parser to use when verifying the response.public void unregisterParser(java.lang.String contentType)
Unregister the parser associated with the provided content-type.
contentType - Content type of your request.public void unregisterParser(ContentType contentType)
Unregister the parser associated with the provided content-type.
contentType - Content type of your request.