Package org.citrusframework.actions.http
Interface HttpReceiveResponseMessageBuilderFactory<T extends TestAction,M extends HttpReceiveResponseMessageBuilderFactory<T,M>>
- All Superinterfaces:
MessageBuilderFactory<T,,M> ReceiveMessageBuilderFactory<T,,M> ReferenceResolverAwareBuilder<T,,M> TestActionBuilder<T>
public interface HttpReceiveResponseMessageBuilderFactory<T extends TestAction,M extends HttpReceiveResponseMessageBuilderFactory<T,M>>
extends ReceiveMessageBuilderFactory<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 "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.ReceiveMessageBuilderFactory
headerNameIgnoreCase, selector, selector, timeout, validate, validate, validate, validate, validate, validate, validator, validator, validator, validators, validators, validators, validatorsMethods inherited from interface org.citrusframework.actions.ReferenceResolverAwareBuilder
withReferenceResolverMethods 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 "Cookie" header.
-