public class HttpApiProxyFactory
extends java.lang.Object
| 构造器和说明 |
|---|
HttpApiProxyFactory() |
HttpApiProxyFactory(java.util.Properties properties) |
HttpApiProxyFactory(java.util.Properties properties,
RequestPreprocessor requestPreprocessor) |
HttpApiProxyFactory(Requestor requestor) |
HttpApiProxyFactory(Requestor requestor,
java.util.Properties properties) |
HttpApiProxyFactory(Requestor requestor,
java.util.Properties properties,
RequestPreprocessor requestPreprocessor) |
HttpApiProxyFactory(RequestPreprocessor requestPreprocessor) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
getProxy(java.lang.Class<T> clazz)
dynamic proxy the given interface whose methods annotated with @HttpReq
|
static <T> T |
newProxy(java.lang.Class<T> clazz) |
static <T> T |
newProxy(java.lang.Class<T> clazz,
java.util.Properties properties) |
static <T> T |
newProxy(java.lang.Class<T> clazz,
java.util.Properties properties,
RequestPreprocessor requestPreprocessor) |
static <T> T |
newProxy(java.lang.Class<T> clazz,
Requestor requestor) |
static <T> T |
newProxy(java.lang.Class<T> clazz,
Requestor requestor,
java.util.Properties properties) |
static <T> T |
newProxy(java.lang.Class<T> clazz,
Requestor requestor,
java.util.Properties properties,
RequestPreprocessor requestPreprocessor) |
static <T> T |
newProxy(java.lang.Class<T> clazz,
RequestPreprocessor requestPreprocessor) |
public HttpApiProxyFactory()
public HttpApiProxyFactory(Requestor requestor)
public HttpApiProxyFactory(java.util.Properties properties)
public HttpApiProxyFactory(Requestor requestor, java.util.Properties properties)
public HttpApiProxyFactory(java.util.Properties properties,
RequestPreprocessor requestPreprocessor)
public HttpApiProxyFactory(RequestPreprocessor requestPreprocessor)
public HttpApiProxyFactory(Requestor requestor, java.util.Properties properties, RequestPreprocessor requestPreprocessor)
public static <T> T newProxy(java.lang.Class<T> clazz)
public static <T> T newProxy(java.lang.Class<T> clazz,
java.util.Properties properties)
public static <T> T newProxy(java.lang.Class<T> clazz,
RequestPreprocessor requestPreprocessor)
public static <T> T newProxy(java.lang.Class<T> clazz,
Requestor requestor)
public static <T> T newProxy(java.lang.Class<T> clazz,
Requestor requestor,
java.util.Properties properties)
public static <T> T newProxy(java.lang.Class<T> clazz,
java.util.Properties properties,
RequestPreprocessor requestPreprocessor)
public static <T> T newProxy(java.lang.Class<T> clazz,
Requestor requestor,
java.util.Properties properties,
RequestPreprocessor requestPreprocessor)
public <T> T getProxy(java.lang.Class<T> clazz)
T - this interface's typeclazz - an interface whose methods annotated with @HttpReqjava.lang.IllegalStateException - thrown when the method without annotated with @HttpReq was invokeCopyright © 2019. All Rights Reserved.