private Builder getResource(EntityOperation operation)
            throws ServiceException {
        return getResource(operation.getUri()).type(operation.getContentType())
                .accept(operation.getAcceptType());
    }
private Builder getResource ( EntityOperation operation ) throws ServiceException { return getResource ( operation . getUri ( ) ) . type ( operation . getContentType ( ) ) . accept ( operation . getAcceptType ( ) ) ; }
Gets the resource.

@param operation
the operation
@return the resource
@throws ServiceException
the service exception