Package org.citrusframework.actions.http
Interface HttpSendRequestMessageBuilderFactory<T extends TestAction,M extends HttpSendRequestMessageBuilderFactory<T,M>>
- All Superinterfaces:
MessageBuilderFactory<T,,M> ReferenceResolverAwareBuilder<T,,M> SendMessageBuilderFactory<T,,M> TestActionBuilder<T>
public interface HttpSendRequestMessageBuilderFactory<T extends TestAction,M extends HttpSendRequestMessageBuilderFactory<T,M>>
extends SendMessageBuilderFactory<T,M>
-
Nested Class Summary
Nested 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 accept header.Adds message payload multi value map data to this builder.contentType(String contentType) Sets the request content type header.Adds cookie to response by "Cookie" header.Sets the request method.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.Sets the http version.Methods inherited from interface org.citrusframework.actions.MessageBuilderFactory
body, body, body, body, body, dictionary, dictionary, extract, extract, extract, from, from, header, header, header, header, header, headers, name, process, process, process, type, typeMethods inherited from interface org.citrusframework.actions.ReferenceResolverAwareBuilder
withReferenceResolverMethods inherited from interface org.citrusframework.actions.SendMessageBuilderFactory
fork, schema, schemaRepository, schemaValidation, transform, transformMethods inherited from interface org.citrusframework.TestActionBuilder
build
-
Method Details
-
body
Adds message payload multi value map data to this builder. This is used when using multipart file upload via Spring RestTemplate. -
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. -
version
Sets the http version. -
contentType
Sets the request content type header. -
accept
Sets the request accept header. -
cookie
Adds cookie to response by "Cookie" header.
-