Package org.chenile.proxy.builder
Class ProxyBuilder.ProxyClass
java.lang.Object
org.chenile.proxy.builder.ProxyBuilder.ProxyClass
- All Implemented Interfaces:
InvocationHandler
- Enclosing class:
- ProxyBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private HeaderCopier
private Class<?>
private ProxyBuilder.ProxyMode
private String
-
Constructor Summary
ConstructorDescriptionProxyClass
(Class<?> interfaceToProxy, String serviceName, HeaderCopier headerCopier, ProxyBuilder.ProxyMode proxyMode, String baseUrl) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
populateArgs
(ChenileExchange exchange, Object[] args) toString()
-
Field Details
-
serviceName
-
headerCopier
-
interfaceToProxy
-
proxyMode
-
baseUrl
-
-
Constructor Details
-
ProxyClass
public ProxyClass(Class<?> interfaceToProxy, String serviceName, HeaderCopier headerCopier, ProxyBuilder.ProxyMode proxyMode, String baseUrl)
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
toString
-
populateArgs
-