/** * Returns a request callback implementation that writes the given object to the * request stream. */ protected <T> AsyncRequestCallback httpEntityCallback(@Nullable HttpEntity<T> request, Type responseType) { return new AsyncRequestCallbackAdapter(this.syncTemplate.httpEntityCallback(request, responseType)); }
/** * Returns a request callback implementation that writes the given object to the * request stream. */ protected <T> AsyncRequestCallback httpEntityCallback(@Nullable HttpEntity<T> requestBody) { return new AsyncRequestCallbackAdapter(this.syncTemplate.httpEntityCallback(requestBody)); }
/** * Returns a request callback implementation that writes the given object to the * request stream. */ protected <T> AsyncRequestCallback httpEntityCallback(@Nullable HttpEntity<T> request, Type responseType) { return new AsyncRequestCallbackAdapter(this.syncTemplate.httpEntityCallback(request, responseType)); }
/** * Returns a request callback implementation that prepares the request {@code Accept} * headers based on the given response type and configured {@linkplain * #getMessageConverters() message converters}. */ protected <T> AsyncRequestCallback acceptHeaderRequestCallback(Class<T> responseType) { return new AsyncRequestCallbackAdapter(this.syncTemplate.acceptHeaderRequestCallback(responseType)); }
/** * Returns a request callback implementation that writes the given object to the * request stream. */ protected <T> AsyncRequestCallback httpEntityCallback(@Nullable HttpEntity<T> request, Type responseType) { return new AsyncRequestCallbackAdapter(this.syncTemplate.httpEntityCallback(request, responseType)); }
/** * Returns a request callback implementation that writes the given object to the * request stream. */ protected <T> AsyncRequestCallback httpEntityCallback(@Nullable HttpEntity<T> requestBody) { return new AsyncRequestCallbackAdapter(this.syncTemplate.httpEntityCallback(requestBody)); }
/** * Returns a request callback implementation that prepares the request {@code Accept} * headers based on the given response type and configured {@linkplain * #getMessageConverters() message converters}. */ protected <T> AsyncRequestCallback acceptHeaderRequestCallback(Class<T> responseType) { return new AsyncRequestCallbackAdapter(this.syncTemplate.acceptHeaderRequestCallback(responseType)); }
/** * Returns a request callback implementation that writes the given object to the * request stream. */ protected <T> AsyncRequestCallback httpEntityCallback(@Nullable HttpEntity<T> request, Type responseType) { return new AsyncRequestCallbackAdapter(this.syncTemplate.httpEntityCallback(request, responseType)); }
/** * Returns a request callback implementation that writes the given object to the * request stream. */ protected <T> AsyncRequestCallback httpEntityCallback(@Nullable HttpEntity<T> requestBody) { return new AsyncRequestCallbackAdapter(this.syncTemplate.httpEntityCallback(requestBody)); }
/** * Returns a request callback implementation that writes the given object to the * request stream. */ protected <T> AsyncRequestCallback httpEntityCallback(@Nullable HttpEntity<T> requestBody) { return new AsyncRequestCallbackAdapter(this.syncTemplate.httpEntityCallback(requestBody)); }
/** * Returns a request callback implementation that prepares the request {@code Accept} * headers based on the given response type and configured {@linkplain * #getMessageConverters() message converters}. */ protected <T> AsyncRequestCallback acceptHeaderRequestCallback(Class<T> responseType) { return new AsyncRequestCallbackAdapter(this.syncTemplate.acceptHeaderRequestCallback(responseType)); }
/** * Returns a request callback implementation that prepares the request {@code Accept} * headers based on the given response type and configured {@linkplain * #getMessageConverters() message converters}. */ protected <T> AsyncRequestCallback acceptHeaderRequestCallback(Class<T> responseType) { return new AsyncRequestCallbackAdapter(this.syncTemplate.acceptHeaderRequestCallback(responseType)); }