@ Override public ProcessorResult handleWrite ( Object entity ) throws ODataException { if ( ODataUriUtil . isRefPathUri ( getoDataUri ( ) ) ) { return processLink ( ( ODataLink ) entity ) ; } else { if ( entity != null ) { throw new ODataBadRequestException ( "The body of a DELETE request must be empty." ) ; } return processEntity ( ) ; } }
This method delete entity .