Package | Description |
---|---|
org.jboss.errai.enterprise.client.jaxrs.api | |
org.jboss.errai.security.client.local.callback |
Modifier and Type | Method and Description |
---|---|
static <T,R> T |
RestClient.create(Class<T> remoteService,
RemoteCallback<R> callback,
RestErrorCallback errorCallback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
static <T,R> T |
RestClient.create(Class<T> remoteService,
RemoteCallback<R> callback,
RestErrorCallback errorCallback,
RequestCallback requestCallback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
static <T,R> T |
RestClient.create(Class<T> remoteService,
String baseUrl,
RemoteCallback<R> callback,
RestErrorCallback errorCallback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
static <T,R> T |
RestClient.create(Class<T> remoteService,
String baseUrl,
RemoteCallback<R> callback,
RestErrorCallback errorCallback,
RequestCallback requestCallback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultRestSecurityErrorCallback
A
RestErrorCallback that catches UnauthenticatedExceptions and UnauthorizedExceptions and navigates to the page with the LoginPage
or SecurityError role, respectively. |
Modifier and Type | Method and Description |
---|---|
RestErrorCallback |
DefaultRestSecurityErrorCallback.setWrappedErrorCallback(RestErrorCallback wrapped)
Set the wrapped callback that will be invoked first when
RestErrorCallback#error(Request, Throwable) is called. |
Modifier and Type | Method and Description |
---|---|
RestErrorCallback |
DefaultRestSecurityErrorCallback.setWrappedErrorCallback(RestErrorCallback wrapped)
Set the wrapped callback that will be invoked first when
RestErrorCallback#error(Request, Throwable) is called. |
Constructor and Description |
---|
DefaultRestSecurityErrorCallback(RestErrorCallback wrapped,
SecurityContext context)
Create a
DefaultRestSecurityErrorCallback wrapping a given
RestErrorCallback . |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.