public class HandleProxy extends Object implements InvocationHandler
| 限定符和类型 | 类和说明 |
|---|---|
static class |
HandleProxy.HandleMethod |
| 构造器和说明 |
|---|
HandleProxy(NettyClient nettyClient,
String path,
Class<?> proxy,
InetSocketAddress inetSocketAddress,
List<Interceptor> interceptorList,
Serialize serialize,
Object success,
Object fail) |
| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.handler.codec.http.HttpRequest |
getHttpRequest(Object[] args,
HandleProxy.HandleMethod handleMethod) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public HandleProxy(NettyClient nettyClient, String path, Class<?> proxy, InetSocketAddress inetSocketAddress, List<Interceptor> interceptorList, Serialize serialize, Object success, Object fail) throws Exception
Exceptionpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke 在接口中 InvocationHandlerThrowablepublic io.netty.handler.codec.http.HttpRequest getHttpRequest(Object[] args, HandleProxy.HandleMethod handleMethod) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, io.netty.handler.codec.http.multipart.HttpPostRequestEncoder.ErrorDataEncoderException
IllegalAccessExceptionIllegalArgumentExceptionInvocationTargetExceptionio.netty.handler.codec.http.multipart.HttpPostRequestEncoder.ErrorDataEncoderExceptionCopyright © 2021. All rights reserved.