/** * @see EntitySimplePropertyValueProcessor */ @Override public ODataResponse readEntitySimplePropertyValue(final GetSimplePropertyUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntitySimplePropertyProcessor */ @Override public ODataResponse updateEntitySimpleProperty(final PutMergePatchUriInfo uriInfo, final InputStream content, final String requestContentType, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityMediaProcessor */ @Override public ODataResponse readEntityMedia(final GetMediaResourceUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see FunctionImportValueProcessor */ @Override public ODataResponse executeFunctionImportValue(final GetFunctionImportUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntitySimplePropertyValueProcessor */ @Override public ODataResponse updateEntitySimplePropertyValue(final PutMergePatchUriInfo uriInfo, final InputStream content, final String requestContentType, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityMediaProcessor */ @Override public ODataResponse deleteEntityMedia(final DeleteUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityLinkProcessor */ @Override public ODataResponse readEntityLink(final GetEntityLinkUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityProcessor */ @Override public ODataResponse readEntity(final GetEntityUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see FunctionImportValueProcessor */ @Override public ODataResponse executeFunctionImportValue(final GetFunctionImportUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntitySimplePropertyValueProcessor */ @Override public ODataResponse updateEntitySimplePropertyValue(final PutMergePatchUriInfo uriInfo, final InputStream content, final String requestContentType, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntitySimplePropertyProcessor */ @Override public ODataResponse readEntitySimpleProperty(final GetSimplePropertyUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityProcessor */ @Override public ODataResponse deleteEntity(final DeleteUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @throws ODataNotImplementedException * @see BatchProcessor */ @Override public BatchResponsePart executeChangeSet(final BatchHandler handler, final List<ODataRequest> requests) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityLinksProcessor */ @Override public ODataResponse readEntityLinks(final GetEntitySetLinksUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityLinkProcessor */ @Override public ODataResponse readEntityLink(final GetEntityLinkUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntitySetProcessor */ @Override public ODataResponse createEntity(final PostUriInfo uriInfo, final InputStream content, final String requestContentType, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityProcessor */ @Override public ODataResponse updateEntity(final PutMergePatchUriInfo uriInfo, final InputStream content, final String requestContentType, final boolean merge, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityProcessor */ @Override public ODataResponse deleteEntity(final DeleteUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
private Response returnNotImplementedResponse(final MessageReference messageReference) { // RFC 2616, 5.1.1: "An origin server SHOULD return the status code [...] // 501 (Not Implemented) if the method is unrecognized [...] by the origin server." return returnException(new ODataNotImplementedException(messageReference)); }
private void createNotImplementedResponse(final HttpServletRequest req, final MessageReference messageReference, final HttpServletResponse resp, ODataServiceFactory serviceFactory) throws IOException { // RFC 2616, 5.1.1: "An origin server SHOULD return the status code [...] // 501 (Not Implemented) if the method is unrecognized [...] by the origin server." ODataExceptionWrapper exceptionWrapper = new ODataExceptionWrapper(req, serviceFactory); ODataResponse response = exceptionWrapper.wrapInExceptionResponse(new ODataNotImplementedException(messageReference)); createResponse(resp, response); }