A Processor that will reject a request with 415 Unsupported Media Type if the content type of the request does not match one of the given content types.
A Processor that will reject a request with 415 Unsupported Media Type if the content type of the request does not match one of the given content types.
the media types accepted by this processor
the inner processor
the outer http request
the inner processors http response
A processor that sets the content type of the request.
Adjusts the response from the inner processor by setting its content type to json
Creates a Response, which is a 200 OK, with the given entity set as the payload with the given content-type.
Creates a Response, which is a 200 OK, with the given entity set as the payload with the given content-type.
Creates a Response, which is a 200 OK, with the given entity set as the payload with the given content-type.
Creates a Response, which is a 200 OK, with the given entity set as the payload with the given content-type.
Creaes a 200 ok response with the entity set to the given value, and the content type inferred.
Creaes a 200 ok response with the entity set to the given value, and the content type inferred.
Builds a Response with the status code set to a HttpStatus which has the value of the given int.
Builds a Response with the status code set to a HttpStatus which has the value of the given int.
Eg, status(200) will return a Response of 200
Builds a Response with the status code set the given HttpStatus
Builds a Response with the status code set the given HttpStatus
Eg, status(HttpStatus.OK) will return a Response of 200
Creates a Response, which is a 200 OK, with the given entity set as an XML payload.