public interface IRestProxyService
extends org.apache.wicket.IClusterable
Modifier and Type | Method and Description |
---|---|
<T> T |
createRestProxy(Class<T> restServiceApiClass)
Creates a proxy to a REST service based on the provided class
|
<T> T |
createRestProxy(Class<T> restServiceApiClass,
List<Object> additionalProviders)
Creates a proxy to a REST service based on the provided class
|
<T> T |
createSecureRestProxy(Class<T> restServiceApiClass)
|
<T> T |
createSecureRestProxy(Class<T> restServiceApiClass,
List<Object> additionalProviders)
|
<T> T createRestProxy(Class<T> restServiceApiClass)
T
- the generic type of the REST service API class.restServiceApiClass
- the class representing the REST service API.<T> T createSecureRestProxy(Class<T> restServiceApiClass)
Subject
A security Subject
which indicates that the caller wants a security context to be propagated with the REST callT
- the generic type of the REST service API class.restServiceApiClass
- the class representing the REST service API.<T> T createRestProxy(Class<T> restServiceApiClass, List<Object> additionalProviders)
This version takes addition list of providers to configure the client proxy with
T
- the generic type of the REST service API class.restServiceApiClass
- the class representing the REST service API.additionalProviders
- List
of additional providers to configure client proxies with<T> T createSecureRestProxy(Class<T> restServiceApiClass, List<Object> additionalProviders)
Subject
A security Subject
which indicates that the caller wants a security context to be propagated with the REST call
This version takes addition list of providers to configure the client proxy with
T
- the generic type of the REST service API class.restServiceApiClass
- the class representing the REST service API.additionalProviders
- List
of additional providers to configure client proxies withCopyright © 2007-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.