Annotation Type Action


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Action
    Die Annotation Action kennzeichnet eine Methode, die ausgefuehrt wird, wenn die in der Annotation angegebene Route via HTTP angefragt wird. Beispiel
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] handler  
      java.lang.String route  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Action.Type type
      type of method
    • Element Detail

      • handler

        java.lang.String[] handler
      • route

        java.lang.String route
      • type

        Action.Type type
        type of method
        Default:
        de.uhilger.neon.Action.Type.GET