public class HttpServerActionBuilder extends AbstractTestActionBuilder<DelegatingTestAction<TestAction>>
| Modifier and Type | Class and Description |
|---|---|
class |
HttpServerActionBuilder.HttpServerReceiveActionBuilder
Provides receive request action methods.
|
class |
HttpServerActionBuilder.HttpServerSendActionBuilder
Provides send response action methods.
|
action| Constructor and Description |
|---|
HttpServerActionBuilder(DelegatingTestAction<TestAction> action,
Endpoint httpServer)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HttpServerActionBuilder.HttpServerReceiveActionBuilder |
receive()
Receive Http requests as server.
|
HttpServerResponseActionBuilder |
respond()
Generic response builder for sending response messages to client.
|
HttpServerResponseActionBuilder |
respond(org.springframework.http.HttpStatus status)
Generic response builder for sending response messages to client with response status code.
|
HttpServerActionBuilder.HttpServerSendActionBuilder |
send()
Send Http response messages as server to client.
|
HttpServerActionBuilder |
withApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Sets the Spring bean application context.
|
actor, build, description, execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNamepublic HttpServerActionBuilder(DelegatingTestAction<TestAction> action, Endpoint httpServer)
public HttpServerResponseActionBuilder respond()
public HttpServerResponseActionBuilder respond(org.springframework.http.HttpStatus status)
public HttpServerActionBuilder.HttpServerReceiveActionBuilder receive()
public HttpServerActionBuilder.HttpServerSendActionBuilder send()
public HttpServerActionBuilder withApplicationContext(org.springframework.context.ApplicationContext applicationContext)
applicationContext - Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.