public class CruxRestProxyCreatorFromServerMetadata extends CruxRestProxyCreator
AbstractProxyCreator.SourcePrinterbodyParameterHandler, callbackType, javascriptObjectType, jsonPCallbackParam, jsonPFailureCallbackParam, jsonPRestCreatorHelper, mustGenerateStateControlMethods, queryParameterHandler, readMethods, restMethods, restProxyType, serviceBasePath, updateMethods, useJsonPbaseIntfcacheable, cacheableVersionFound, context, logger| Constructor and Description |
|---|
CruxRestProxyCreatorFromServerMetadata(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.typeinfo.JClassType baseIntf) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateExceptionCallHandlingCode(org.cruxframework.crux.core.rebind.rest.RestMethodInfo methodInfo,
AbstractProxyCreator.SourcePrinter srcWriter,
String callbackParameterName) |
protected void |
generateHostPathInitialization(AbstractProxyCreator.SourcePrinter srcWriter) |
protected org.cruxframework.crux.core.rebind.rest.RestMethodInfo |
getRestMethodInfo(com.google.gwt.core.ext.typeinfo.JMethod method) |
protected String |
getServiceBasePath(com.google.gwt.core.ext.GeneratorContext context) |
generateAJAXInvocation, generateProxyContructor, generateProxyFields, generateProxyMethods, generateSaveStateBlock, generateSetEndpointMethod, generateStateControlMethods, generateSuccessCallHandlingCode, generateValidateStateBlock, generateWrapperMethod, generateXSRFHeaderProtectionForWrites, getCallbackResultTypeName, getImports, getRestURI, initializeRestMethods, paths, setLocaleInfo, validateProxyMethodfindCacheableImplementationAndMarkForReuseIfAvailable, getDeviceFeatures, getModule, getProxyQualifiedName, getProxySimpleName, getScreens, getSourcePrinter, getUserAgent, getViewscacheableVersionFound, create, findCacheableImplementationAndMarkForReuseIfAvailable, generateLoggerField, generateMethodParameters, generateMethodTrhowsClause, generateProxyWrapperMethodDeclaration, generateSubTypes, getJsniSimpleSignature, isAlreadyGenerated, isCacheable, isCrux2OldInterfacesCompatibilityEnabled, logDebugMessagepublic CruxRestProxyCreatorFromServerMetadata(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.typeinfo.JClassType baseIntf)
protected void generateHostPathInitialization(AbstractProxyCreator.SourcePrinter srcWriter)
generateHostPathInitialization in class CruxRestProxyCreatorprotected String getServiceBasePath(com.google.gwt.core.ext.GeneratorContext context)
getServiceBasePath in class CruxRestProxyCreatorprotected org.cruxframework.crux.core.rebind.rest.RestMethodInfo getRestMethodInfo(com.google.gwt.core.ext.typeinfo.JMethod method)
throws InvalidRestMethod
getRestMethodInfo in class CruxRestProxyCreatorInvalidRestMethodprotected void generateExceptionCallHandlingCode(org.cruxframework.crux.core.rebind.rest.RestMethodInfo methodInfo,
AbstractProxyCreator.SourcePrinter srcWriter,
String callbackParameterName)
generateExceptionCallHandlingCode in class CruxRestProxyCreatorCopyright © 2014. All rights reserved.