static ServerResponse.BodyBuilder | ServerResponse.accepted() | |
---|
static ServerResponse.BodyBuilder | ServerResponse.badRequest() | |
---|
ServerResponse.BodyBuilder | ServerResponse.BodyBuilder.contentLength(long contentLength) | Set the length of the body in bytes, as specified by the Content-Length header. |
---|
ServerResponse.BodyBuilder | ServerResponse.BodyBuilder.contentType(MediaType contentType) | Set the media type of the body, as specified by the Content-Type header. |
---|
static ServerResponse.BodyBuilder | ServerResponse.created(URI location) | Create a new builder with a 201 Created status and a location header set to the given URI. |
---|
static ServerResponse.BodyBuilder | ServerResponse.from(ServerResponse other) | Create a builder with the status code and headers of the given response. |
---|
ServerResponse.BodyBuilder | ServerResponse.BodyBuilder.hint(String key, Object value) | |
---|
ServerResponse.BodyBuilder | ServerResponse.BodyBuilder.hints(Consumer<Map<String,Object>> hintsConsumer) | Customize the serialization hints with the given consumer. |
---|
static ServerResponse.BodyBuilder | ServerResponse.ok() | Create a builder with the status set to 200 OK. |
---|
static ServerResponse.BodyBuilder | ServerResponse.permanentRedirect(URI location) | |
---|
static ServerResponse.BodyBuilder | ServerResponse.seeOther(URI location) | Create a builder with a 303 See Other status and a location header set to the given URI. |
---|
static ServerResponse.BodyBuilder | ServerResponse.status(int status) | Create a builder with the given HTTP status. |
---|
static ServerResponse.BodyBuilder | ServerResponse.status(HttpStatus status) | Create a builder with the given HTTP status. |
---|
static ServerResponse.BodyBuilder | ServerResponse.temporaryRedirect(URI location) | |
---|
static ServerResponse.BodyBuilder | ServerResponse.unprocessableEntity() | |
---|