Package org.citrusframework.actions.http
Interface HttpSendResponseMessageBuilderFactory<T extends TestAction,M extends HttpSendResponseMessageBuilderFactory<T,M>>
- All Superinterfaces:
MessageBuilderFactory<T,,M> ReferenceResolverAwareBuilder<T,,M> SendMessageBuilderFactory<T,,M> TestActionBuilder<T>
public interface HttpSendResponseMessageBuilderFactory<T extends TestAction,M extends HttpSendResponseMessageBuilderFactory<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 TypeMethodDescriptioncontentType(String contentType) Sets the request content type header.Adds cookie to response by "Set-Cookie" header.reasonPhrase(String reasonPhrase) Sets the response reason phrase.status(int status) Sets the response status.Sets the response status.statusCode(int statusCode) Sets the response status code.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
-
status
Sets the response status. -
status
Sets the response status. -
statusCode
Sets the response status code. -
reasonPhrase
Sets the response reason phrase. -
version
Sets the http version. -
contentType
Sets the request content type header. -
cookie
Adds cookie to response by "Set-Cookie" header.
-