public class WebClient<T> extends NewSourceInfoAbstract<T>
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.util.Map<Method,Method> |
method2PortMap |
protected java.lang.Class<?> |
serviceClass |
protected ServiceInfo |
serviceInfo |
net.gdface.utils.ParameterNames |
serviceParamTable |
interfaceClass, methodsNeedGenerated, paramTable, refClassbaseClass, fullNameInstanceByImportList, importedList, importedListBackup| 构造器和说明 |
|---|
WebClient(java.lang.Class<T> interfaceClass,
java.lang.Class<? extends T> refClass,
java.lang.Class<?> serviceClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
compile() |
protected java.util.Map<Method,Method> |
createMethod2PortMapMap() |
protected void |
createMethodsNeedGenerated() |
java.util.Map<Method,Method> |
getMethod2PortMap() |
Method |
getPrimitiveMethod(java.lang.Class<?> from,
Method deriveMethod) |
Remote |
getRemoteAnnotation(Method method) |
Remote |
getRemoteAnnotation(java.lang.reflect.Method method) |
java.lang.Class<?> |
getServiceClass() |
ServiceInfo |
getServiceInfo() |
protected java.lang.reflect.Method |
getServicePort(Method method) |
protected java.util.Map<java.lang.String,java.lang.reflect.Method> |
getServicePorts(java.lang.Class<?> serviceClass) |
boolean |
isGenericTypeClass(Method method,
java.lang.Class<?> parameterType) |
boolean |
isServiceRuntime(java.lang.Class<?> exp) |
boolean |
needImpl(Method method) |
boolean |
needImpl(java.lang.reflect.Method method) |
java.lang.String |
toString() |
addImportedClassFromMethods, checkClass, getDeclaredMethods, getGenericMethod, getImplementedMethod, getInterfaceClass, getMatchedGenericMethod, getMatchedGenericMethod, getMethod, getMethodsNeedGenerated, getRefClass, isAssignable, isConvert, isFullImplemented, isImplemented, isImplemented, isImplementedMethodaddImportedClass, addImportedClass, addImportedClassFromMethod, addImportedClassFromMethods, backupImportedList, getBaseClass, getImportedClassNames, getImportedClassNames, getImportedList, getName, getPackage, getRawTypeName, getTypeDefine, getTypeName, removeClassFromImports, removeClassFromImports, removeClassFromImports, restoreImportedListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBaseClass, getImportedListprotected ServiceInfo serviceInfo
protected final java.lang.Class<?> serviceClass
public final net.gdface.utils.ParameterNames serviceParamTable
protected java.util.Map<Method,Method> method2PortMap
protected void createMethodsNeedGenerated()
createMethodsNeedGenerated 在类中 NewSourceInfoAbstract<T>public java.lang.String toString()
toString 在类中 java.lang.Objectpublic boolean compile()
compile 在类中 NewSourceInfoAbstract<T>protected java.util.Map<Method,Method> createMethod2PortMapMap() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionprotected java.lang.reflect.Method getServicePort(Method method)
method - 接口中的方法protected final java.util.Map<java.lang.String,java.lang.reflect.Method> getServicePorts(java.lang.Class<?> serviceClass) throws DuplicatedNameMethodException
public ServiceInfo getServiceInfo()
public java.util.Map<Method,Method> getMethod2PortMap()
public java.lang.Class<?> getServiceClass()
public boolean isServiceRuntime(java.lang.Class<?> exp)
public boolean needImpl(java.lang.reflect.Method method)
public Remote getRemoteAnnotation(Method method)
public Remote getRemoteAnnotation(java.lang.reflect.Method method)
public boolean isGenericTypeClass(Method method, java.lang.Class<?> parameterType)
public Method getPrimitiveMethod(java.lang.Class<?> from, Method deriveMethod) throws MethodException
MethodExceptionCopyright © 2020. All Rights Reserved.