Processor that requires the request to identify itself as an ajax request by incuding the X-Requested-With header set to value "XMLRequest"
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.
A processor that sets the content type of the request.
Adds a processor to the pipeline that requires the request to have a cookie with the given name.
Adds a processor to the pipeline that requires the request to have a cookie with the given name. If the request does not contain the cookie then processing will skip to the next endpoint. The processor does not inspect the cookie value.
the cookie name that must be present on the request
this
A processor that requires the request to have a header with the given name and value.
A processor that requires the request to have a header with the given name and value. If the request does not contain the header then processing will skip to the next endpoint.
Adds a processor to the pipeline that requires the request to have a header with the given name.
Adds a processor to the pipeline that requires the request to have a header with the given name. The value is not inspected as part of this pipeline. If the request does not contain the header then processing will skip to the next endpoint.
the header that must be present on the request
this
Adds a processor to the pipeline that requires the request to have a header with the given name.
Adds a processor to the pipeline that requires the request to have a header with the given name. The value is not inspected as part of this pipeline. If the request does not contain the header then processing will skip to the next endpoint.
the header that must be present on the request
this
Adjusts the response from the inner processor by setting its content type to json
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.
Extracts the current session.
Extracts the current session. If no such session exists then will exit the route with a 500 Internal Service Error.
Extracts a property from the session.
Extracts a property from the session. If the session does not exist then the endpoint will return a 500 Internal Service Error. If the property does not exist in the session then the route will return a 500 Internal Service Error.
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.
Creates a Response, which is a 200 OK, with the given entity set as an XML payload.