org.cruxframework.crux.core.rebind.rest
Class CruxRestProxyCreatorFromClientMetadata
java.lang.Object
org.cruxframework.crux.core.rebind.AbstractProxyCreator
org.cruxframework.crux.core.rebind.AbstractInterfaceWrapperProxyCreator
org.cruxframework.crux.core.rebind.rest.CruxRestProxyCreator
org.cruxframework.crux.core.rebind.rest.CruxRestProxyCreatorFromClientMetadata
public class CruxRestProxyCreatorFromClientMetadata
- extends CruxRestProxyCreator
This class creates a client proxy for calling rest services
- Author:
- Thiago da Rosa de Bustamante
| Fields inherited from class org.cruxframework.crux.core.rebind.rest.CruxRestProxyCreator |
bodyParameterHandler, callbackType, javascriptObjectType, jsonPCallbackParam, jsonPFailureCallbackParam, jsonPRestCreatorHelper, mustGenerateStateControlMethods, queryParameterHandler, readMethods, restMethods, restProxyType, serviceBasePath, updateMethods, useJsonP |
|
Constructor Summary |
CruxRestProxyCreatorFromClientMetadata(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.typeinfo.JClassType baseIntf)
|
| Methods inherited from class org.cruxframework.crux.core.rebind.rest.CruxRestProxyCreator |
generateAJAXInvocation, generateExceptionCallHandlingCode, generateProxyContructor, generateProxyFields, generateProxyMethods, generateSaveStateBlock, generateSetEndpointMethod, generateStateControlMethods, generateSuccessCallHandlingCode, generateValidateStateBlock, generateViewBindableMethods, generateWrapperMethod, generateXSRFHeaderProtectionForWrites, getCallbackResultTypeName, getImports, getRestURI, initializeRestMethods, paths, setLocaleInfo, validateProxyMethod |
| Methods inherited from class org.cruxframework.crux.core.rebind.AbstractProxyCreator |
cacheableVersionFound, create, findCacheableImplementationAndMarkForReuseIfAvailable, generateLoggerField, generateMethodParameters, generateMethodTrhowsClause, generateProxyWrapperMethodDeclaration, generateSubTypes, getJsniSimpleSignature, isAlreadyGenerated, isCacheable, isCrux2OldInterfacesCompatibilityEnabled, logDebugMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CruxRestProxyCreatorFromClientMetadata
public CruxRestProxyCreatorFromClientMetadata(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.typeinfo.JClassType baseIntf)
getServiceBasePath
protected String getServiceBasePath(com.google.gwt.core.ext.GeneratorContext context)
- Specified by:
getServiceBasePath in class CruxRestProxyCreator
generateHostPathInitialization
protected void generateHostPathInitialization(AbstractProxyCreator.SourcePrinter srcWriter)
- Specified by:
generateHostPathInitialization in class CruxRestProxyCreator
getRestMethodInfo
protected org.cruxframework.crux.core.rebind.rest.RestMethodInfo getRestMethodInfo(com.google.gwt.core.ext.typeinfo.JMethod method)
throws InvalidRestMethod
- Specified by:
getRestMethodInfo in class CruxRestProxyCreator
- Throws:
InvalidRestMethod
Copyright © 2014. All rights reserved.