org.androidannotations.handler.rest
Class HeadHandler

java.lang.Object
  extended by org.androidannotations.handler.BaseAnnotationHandler<RestHolder>
      extended by org.androidannotations.handler.rest.RestMethodHandler
          extended by org.androidannotations.handler.rest.HeadHandler
All Implemented Interfaces:
AnnotationHandler<RestHolder>

public class HeadHandler
extends RestMethodHandler


Field Summary
 
Fields inherited from class org.androidannotations.handler.rest.RestMethodHandler
codeModelHelper, restAnnotationHelper
 
Fields inherited from class org.androidannotations.handler.BaseAnnotationHandler
androidManifest, androidSystemServices, processHolder, processingEnv, rClass, validatedModel, validatorHelper
 
Constructor Summary
HeadHandler(ProcessingEnvironment processingEnvironment)
           
 
Method Summary
protected  com.sun.codemodel.JExpression addResultCallMethod(com.sun.codemodel.JExpression exchangeCall, com.sun.codemodel.JClass methodReturnClass)
           
protected  com.sun.codemodel.JExpression getResponseClass(Element element, RestHolder holder)
           
protected  String getUrlSuffix(Element element)
           
 void validate(Element element, AnnotationElements validatedElements, IsValid valid)
           
 
Methods inherited from class org.androidannotations.handler.rest.RestMethodHandler
addMethodParams, getHttpMethod, getMethodReturnClass, getRequestEntity, getUrl, getUrlVariables, process
 
Methods inherited from class org.androidannotations.handler.BaseAnnotationHandler
classes, codeModel, generateApiClass, getTarget, processingEnvironment, refClass, refClass, setAndroidEnvironment, setProcessHolder, setValidatedModel, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeadHandler

public HeadHandler(ProcessingEnvironment processingEnvironment)
Method Detail

validate

public void validate(Element element,
                     AnnotationElements validatedElements,
                     IsValid valid)
Overrides:
validate in class RestMethodHandler

getUrlSuffix

protected String getUrlSuffix(Element element)
Specified by:
getUrlSuffix in class RestMethodHandler

getResponseClass

protected com.sun.codemodel.JExpression getResponseClass(Element element,
                                                         RestHolder holder)
Overrides:
getResponseClass in class RestMethodHandler

addResultCallMethod

protected com.sun.codemodel.JExpression addResultCallMethod(com.sun.codemodel.JExpression exchangeCall,
                                                            com.sun.codemodel.JClass methodReturnClass)
Overrides:
addResultCallMethod in class RestMethodHandler


Copyright © 2010-2014. All Rights Reserved.