code: @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();
          }
      }
docs: This method delete entity.
  
  @param entity is null always. If it is not null then returns BAD_REQUEST status
  @return status of request
  @throws com.sdl.odata.api.processor.datasource.ODataDataSourceException in case of any error