Package org.citrusframework.actions.http
Interface HttpClientRequestActionBuilder<T extends TestAction,M extends HttpSendRequestMessageBuilderFactory<T,M>,B extends HttpClientRequestActionBuilder<T,M,B>>
- All Superinterfaces:
ActionBuilder<T,,B> MessageActionBuilder,SendActionBuilder<T,,M, B> TestActionBuilder<T>
- All Known Subinterfaces:
OpenApiClientRequestActionBuilder<T,M, B>
public interface HttpClientRequestActionBuilder<T extends TestAction,M extends HttpSendRequestMessageBuilderFactory<T,M>,B extends HttpClientRequestActionBuilder<T,M,B>>
extends SendActionBuilder<T,M,B>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.citrusframework.actions.SendActionBuilder
SendActionBuilder.BuilderFactoryNested classes/interfaces inherited from interface org.citrusframework.TestActionBuilder
TestActionBuilder.DelegatingTestActionBuilder<T extends TestAction> -
Field Summary
Fields inherited from interface org.citrusframework.TestActionBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Method Summary
Modifier and TypeMethodDescriptionSets the request method.Sets the request path.queryParam(String name) Adds a query param to the request uri.queryParam(String name, String value) Adds a query param to the request uri.Set the endpoint URI for the request.Methods inherited from interface org.citrusframework.actions.ActionBuilder
actor, description, nameMethods inherited from interface org.citrusframework.actions.SendActionBuilder
endpoint, endpoint, extract, fork, message, message, message, process, process, process, transform, transform, transformMethods inherited from interface org.citrusframework.TestActionBuilder
build
-
Method Details
-
path
Sets the request path. -
method
Sets the request method. -
uri
Set the endpoint URI for the request. This works only if the HTTP endpoint used doesn't provide an own endpoint URI resolver.- Parameters:
uri- absolute URI to use for the endpoint- Returns:
- self
-
queryParam
Adds a query param to the request uri. -
queryParam
Adds a query param to the request uri.
-