@Deprecated public class UrlInvocationHandler extends Object implements InvocationHandler
Map cookies = new HashMap(); String url = "http://www.mycompany.com:80/json/" InvocationHandler handler = new UrlInvocationHandler(new UrlInvocationHandlerStrategyImplementation(url, ...)); Explorer explorer = (Explorer) ProxyFactory.create(Explorer.class, handler); At this point, your Java code can do this: List files = explorer.getFiles(userId);
Modifier and Type | Field and Description |
---|---|
static int |
SLEEP_TIME
Deprecated.
|
Constructor and Description |
---|
UrlInvocationHandler(UrlInvocationHandlerStrategy strategy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
checkForThrowable(Object object)
Deprecated.
|
Object |
invoke(Object proxy,
Method m,
Object[] args)
Deprecated.
|
public static final int SLEEP_TIME
public UrlInvocationHandler(UrlInvocationHandlerStrategy strategy)
Copyright © 2023. All rights reserved.