private ClientResponse getActionClientResponse(
            EntityActionOperation entityActionOperation) {
        entityActionOperation.setProxyData(createProxyData());
        Builder webResource = getResource(entityActionOperation.getUri())
                .queryParams(entityActionOperation.getQueryParameters())
                .accept(entityActionOperation.getAcceptType())
                .accept(MediaType.APPLICATION_XML_TYPE)
                .type(MediaType.APPLICATION_XML_TYPE);
        if (entityActionOperation.getRequestContents() != null) {
            webResource = webResource.entity(
                    entityActionOperation.getRequestContents(),
                    entityActionOperation.getContentType());
        }
        return webResource.method(entityActionOperation.getVerb(),
                ClientResponse.class);
    }
private ClientResponse getActionClientResponse ( EntityActionOperation entityActionOperation ) { entityActionOperation . setProxyData ( createProxyData ( ) ) ; Builder webResource = getResource ( entityActionOperation . getUri ( ) ) . queryParams ( entityActionOperation . getQueryParameters ( ) ) . accept ( entityActionOperation . getAcceptType ( ) ) . accept ( MediaType . APPLICATION_XML_TYPE ) . type ( MediaType . APPLICATION_XML_TYPE ) ; if ( entityActionOperation . getRequestContents ( ) != null ) { webResource = webResource . entity ( entityActionOperation . getRequestContents ( ) , entityActionOperation . getContentType ( ) ) ; } return webResource . method ( entityActionOperation . getVerb ( ) , ClientResponse . class ) ; }
Gets the action client response.

@param entityActionOperation
the entity action operation
@return the action client response