Search in sources :

Example 1 with PatchHandler

use of org.androidannotations.rest.spring.handler.PatchHandler in project androidannotations by androidannotations.

the class RestSpringPlugin method getHandlers.

@Override
public List<AnnotationHandler<?>> getHandlers(AndroidAnnotationsEnvironment androidAnnotationEnv) {
    List<AnnotationHandler<?>> annotationHandlers = new ArrayList<>();
    annotationHandlers.add(new RestHandler(androidAnnotationEnv));
    annotationHandlers.add(new FieldHandler(androidAnnotationEnv));
    annotationHandlers.add(new PartHandler(androidAnnotationEnv));
    annotationHandlers.add(new BodyHandler(androidAnnotationEnv));
    annotationHandlers.add(new GetHandler(androidAnnotationEnv));
    annotationHandlers.add(new PostHandler(androidAnnotationEnv));
    annotationHandlers.add(new PutHandler(androidAnnotationEnv));
    annotationHandlers.add(new PatchHandler(androidAnnotationEnv));
    annotationHandlers.add(new DeleteHandler(androidAnnotationEnv));
    annotationHandlers.add(new HeadHandler(androidAnnotationEnv));
    annotationHandlers.add(new OptionsHandler(androidAnnotationEnv));
    annotationHandlers.add(new PathHandler(androidAnnotationEnv));
    annotationHandlers.add(new HeaderHandler(androidAnnotationEnv));
    annotationHandlers.add(new HeadersHandler(androidAnnotationEnv));
    annotationHandlers.add(new RestServiceHandler(androidAnnotationEnv));
    return annotationHandlers;
}
Also used : FieldHandler(org.androidannotations.rest.spring.handler.FieldHandler) PatchHandler(org.androidannotations.rest.spring.handler.PatchHandler) PartHandler(org.androidannotations.rest.spring.handler.PartHandler) ArrayList(java.util.ArrayList) PathHandler(org.androidannotations.rest.spring.handler.PathHandler) DeleteHandler(org.androidannotations.rest.spring.handler.DeleteHandler) RestServiceHandler(org.androidannotations.rest.spring.handler.RestServiceHandler) HeaderHandler(org.androidannotations.rest.spring.handler.HeaderHandler) PostHandler(org.androidannotations.rest.spring.handler.PostHandler) HeadersHandler(org.androidannotations.rest.spring.handler.HeadersHandler) RestHandler(org.androidannotations.rest.spring.handler.RestHandler) BodyHandler(org.androidannotations.rest.spring.handler.BodyHandler) OptionsHandler(org.androidannotations.rest.spring.handler.OptionsHandler) HeadHandler(org.androidannotations.rest.spring.handler.HeadHandler) AnnotationHandler(org.androidannotations.handler.AnnotationHandler) PutHandler(org.androidannotations.rest.spring.handler.PutHandler) GetHandler(org.androidannotations.rest.spring.handler.GetHandler)

Aggregations

ArrayList (java.util.ArrayList)1 AnnotationHandler (org.androidannotations.handler.AnnotationHandler)1 BodyHandler (org.androidannotations.rest.spring.handler.BodyHandler)1 DeleteHandler (org.androidannotations.rest.spring.handler.DeleteHandler)1 FieldHandler (org.androidannotations.rest.spring.handler.FieldHandler)1 GetHandler (org.androidannotations.rest.spring.handler.GetHandler)1 HeadHandler (org.androidannotations.rest.spring.handler.HeadHandler)1 HeaderHandler (org.androidannotations.rest.spring.handler.HeaderHandler)1 HeadersHandler (org.androidannotations.rest.spring.handler.HeadersHandler)1 OptionsHandler (org.androidannotations.rest.spring.handler.OptionsHandler)1 PartHandler (org.androidannotations.rest.spring.handler.PartHandler)1 PatchHandler (org.androidannotations.rest.spring.handler.PatchHandler)1 PathHandler (org.androidannotations.rest.spring.handler.PathHandler)1 PostHandler (org.androidannotations.rest.spring.handler.PostHandler)1 PutHandler (org.androidannotations.rest.spring.handler.PutHandler)1 RestHandler (org.androidannotations.rest.spring.handler.RestHandler)1 RestServiceHandler (org.androidannotations.rest.spring.handler.RestServiceHandler)1