public class Client
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Client.Context |
Modifier and Type | Field and Description |
---|---|
static java.lang.ThreadLocal<java.util.Set<java.net.URI>> |
failed |
Constructor and Description |
---|
Client() |
Modifier and Type | Method and Description |
---|---|
static void |
addEventObserver(java.lang.Object observer) |
static boolean |
addRetryCondition(java.lang.Class<? extends java.lang.Throwable> throwable) |
static void |
fireEvent(java.lang.Object event) |
static Client.Context |
getContext(ServerMetaData serverMetaData) |
static java.util.Set<java.net.URI> |
getFailed() |
protected Response |
processRequest(Request req,
Response res,
ServerMetaData server) |
static void |
removeEventObserver(java.lang.Object observer) |
static boolean |
removeRetryCondition(java.lang.Class<? extends java.lang.Throwable> throwable) |
static Response |
request(Request req,
Response res,
ServerMetaData server) |
static void |
setClient(Client client) |
public static void addEventObserver(java.lang.Object observer)
public static void removeEventObserver(java.lang.Object observer)
public static void fireEvent(java.lang.Object event)
public static boolean addRetryCondition(java.lang.Class<? extends java.lang.Throwable> throwable)
public static boolean removeRetryCondition(java.lang.Class<? extends java.lang.Throwable> throwable)
public static void setClient(Client client)
public static Response request(Request req, Response res, ServerMetaData server) throws java.rmi.RemoteException
java.rmi.RemoteException
protected Response processRequest(Request req, Response res, ServerMetaData server) throws java.rmi.RemoteException
java.rmi.RemoteException
public static java.util.Set<java.net.URI> getFailed()
public static Client.Context getContext(ServerMetaData serverMetaData)