public < T > EntityResponse < List < T > > deleteWithListResult ( Class < T > entityClass , String path , Map < String , String > headers ) throws IOException , RESTException { return parseListEntityResponse ( entityClass , getHttpResponse ( new HttpDelete ( baseUrl + path ) , headers ) ) ; }
Performs DELETE request while expected response entity is a list of specified type .