Class RestQuestionBuilder<T>
java.lang.Object
net.serenitybdd.screenplay.rest.questions.RestQuestionBuilder<T>
public class RestQuestionBuilder<T> extends java.lang.Object implements To<T>, Returning<T>
-
Constructor Summary
Constructors Constructor Description RestQuestionBuilder() -
Method Summary
Modifier and Type Method Description To<T>about(java.lang.String name)Question<T>returning(RestResponseFunction<T> response)Returning<T>to(java.lang.String endpoint)Returning<T>with(RestQueryFunction query)Returning<T>withPathParameters(java.lang.String param1, java.lang.Object value1)Returning<T>withPathParameters(java.lang.String param1, java.lang.Object value1, java.lang.Object... otherParams)Returning<T>withQueryParameters(java.lang.String param1, java.lang.Object value1)Returning<T>withQueryParameters(java.lang.String param1, java.lang.Object value1, java.lang.Object... otherParams)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RestQuestionBuilder
public RestQuestionBuilder()
-
-
Method Details
-
about
-
to
-
with
-
withPathParameters
- Specified by:
withPathParametersin interfaceReturning<T>
-
withPathParameters
public Returning<T> withPathParameters(java.lang.String param1, java.lang.Object value1, java.lang.Object... otherParams)- Specified by:
withPathParametersin interfaceReturning<T>
-
withQueryParameters
- Specified by:
withQueryParametersin interfaceReturning<T>
-
withQueryParameters
public Returning<T> withQueryParameters(java.lang.String param1, java.lang.Object value1, java.lang.Object... otherParams)- Specified by:
withQueryParametersin interfaceReturning<T>
-
returning
-