public interface IRestProxyService
extends org.apache.wicket.util.io.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)
|
String |
getContextPath()
The context path for this
IRestProxyService . |
String |
getRestURI() |
String getContextPath()
IRestProxyService
. The context path for ROOT.war is an empty String. Other allowed
values must start with a '/' and are not allowed to have another '/'. If not configured, null
is returnednull
when not configuredString getRestURI()
IRestProxyService
<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–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.