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(RestMethodInfo methodInfo,
AbstractProxyCreator.SourcePrinter srcWriter,
String callbackParameterName,
String responseVariable) |
protected void |
generateHostPathInitialization(AbstractProxyCreator.SourcePrinter srcWriter) |
protected RestMethodInfo |
getRestMethodInfo(com.google.gwt.core.ext.typeinfo.JMethod method) |
protected String |
getServiceBasePath(com.google.gwt.core.ext.GeneratorContext context) |
generateAJAXInvocation, generateLogHandlingCode, generateProxyContructor, generateProxyFields, generateProxyMethods, generateSaveStateBlock, generateSetEndpointMethod, generateStateControlMethods, generateSuccessCallHandlingCode, generateValidateStateBlock, generateViewBindableMethods, generateWrapperMethod, generateXSRFHeaderProtectionForWrites, getCallbackResultTypeName, getImports, getNonConflictedVarName, getRequestBuilderInitialization, 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 RestMethodInfo getRestMethodInfo(com.google.gwt.core.ext.typeinfo.JMethod method) throws InvalidRestMethod
getRestMethodInfo in class CruxRestProxyCreatorInvalidRestMethodprotected void generateExceptionCallHandlingCode(RestMethodInfo methodInfo, AbstractProxyCreator.SourcePrinter srcWriter, String callbackParameterName, String responseVariable)
generateExceptionCallHandlingCode in class CruxRestProxyCreatorCopyright © 2015. All rights reserved.