@Override public <T> T method(final String name, final Entity<?> entity, final GenericType<T> responseType) throws ProcessingException, WebApplicationException { if (responseType == null) { throw new IllegalArgumentException(LocalizationMessages.RESPONSE_TYPE_IS_NULL()); } requestContext.setMethod(name); storeEntity(entity); return new JerseyInvocation(this).invoke(responseType); }
@Override public <T> T method(final String name, final Entity<?> entity, final Class<T> responseType) throws ProcessingException, WebApplicationException { if (responseType == null) { throw new IllegalArgumentException(LocalizationMessages.RESPONSE_TYPE_IS_NULL()); } requestContext.setMethod(name); storeEntity(entity); return new JerseyInvocation(this).invoke(responseType); }
@Override public <T> T method(final String name, final Entity<?> entity, final Class<T> responseType) throws ProcessingException, WebApplicationException { if (responseType == null) { throw new IllegalArgumentException(LocalizationMessages.RESPONSE_TYPE_IS_NULL()); } requestContext.setMethod(name); storeEntity(entity); return new JerseyInvocation(this).invoke(responseType); }
@Override public <T> T method(final String name, final Entity<?> entity, final GenericType<T> responseType) throws ProcessingException, WebApplicationException { if (responseType == null) { throw new IllegalArgumentException(LocalizationMessages.RESPONSE_TYPE_IS_NULL()); } requestContext.setMethod(name); storeEntity(entity); return new JerseyInvocation(this).invoke(responseType); }
@Override public JerseyInvocation buildPut(final Entity<?> entity) { requestContext.setMethod("PUT"); storeEntity(entity); return new JerseyInvocation(this, true); }
@Override public JerseyInvocation buildPost(final Entity<?> entity) { requestContext.setMethod("POST"); storeEntity(entity); return new JerseyInvocation(this, true); }
@Override public JerseyInvocation build(final String method, final Entity<?> entity) { requestContext.setMethod(method); storeEntity(entity); return new JerseyInvocation(this, true); }
@Override public Response method(final String name, final Entity<?> entity) throws ProcessingException { requestContext.setMethod(name); storeEntity(entity); return new JerseyInvocation(this).invoke(); }
@Override public JerseyInvocation buildPut(final Entity<?> entity) { requestContext.setMethod("PUT"); storeEntity(entity); return new JerseyInvocation(this, true); }
@Override public <T> T method(final String name, final Entity<?> entity, final Class<T> responseType) throws ProcessingException, WebApplicationException { if (responseType == null) { throw new IllegalArgumentException(LocalizationMessages.RESPONSE_TYPE_IS_NULL()); } requestContext.setMethod(name); storeEntity(entity); return new JerseyInvocation(this).invoke(responseType); }
@Override public <T> T method(final String name, final Entity<?> entity, final GenericType<T> responseType) throws ProcessingException, WebApplicationException { if (responseType == null) { throw new IllegalArgumentException(LocalizationMessages.RESPONSE_TYPE_IS_NULL()); } requestContext.setMethod(name); storeEntity(entity); return new JerseyInvocation(this).invoke(responseType); }
@Override public Response method(final String name, final Entity<?> entity) throws ProcessingException { requestContext.setMethod(name); storeEntity(entity); return new JerseyInvocation(this).invoke(); }
@Override public JerseyInvocation build(final String method, final Entity<?> entity) { requestContext.setMethod(method); storeEntity(entity); return new JerseyInvocation(this, true); }
@Override public <T> T method(final String name, final Entity<?> entity, final GenericType<T> responseType) throws ProcessingException, WebApplicationException { if (responseType == null) { throw new IllegalArgumentException(LocalizationMessages.RESPONSE_TYPE_IS_NULL()); } requestContext.setMethod(name); storeEntity(entity); return new JerseyInvocation(this).invoke(responseType); }
@Override public JerseyInvocation buildPost(final Entity<?> entity) { requestContext.setMethod("POST"); storeEntity(entity); return new JerseyInvocation(this, true); }
@Override public JerseyInvocation build(final String method, final Entity<?> entity) { requestContext.setMethod(method); storeEntity(entity); return new JerseyInvocation(this, true); }
@Override public JerseyInvocation buildPost(final Entity<?> entity) { requestContext.setMethod("POST"); storeEntity(entity); return new JerseyInvocation(this, true); }
@Override public Response method(final String name, final Entity<?> entity) throws ProcessingException { requestContext.setMethod(name); storeEntity(entity); return new JerseyInvocation(this).invoke(); }
@Override public JerseyInvocation buildPut(final Entity<?> entity) { requestContext.setMethod("PUT"); storeEntity(entity); return new JerseyInvocation(this, true); }
@Override public JerseyInvocation buildPut(final Entity<?> entity) { requestContext.setMethod("PUT"); storeEntity(entity); return new JerseyInvocation(this, true); }