An ODataResponse
is usually created by an {@link ODataProcessor} during request handling.
The handler can use a serializer to create an OData body (== response entity) and can set various response headers. A response can be created using the builder pattern:
{@code ODataResponse response = ODataResponse.entity("hello world").setStatus(HttpStatusCodes.OK).build();}
|
|