Annotation Interface STServiceOperation


@Retention(RUNTIME) @Documented @Target(METHOD) public @interface STServiceOperation
this annotation is used to inform the STServiceProcessor to map a service operation to a method in the controller generated for the defining service class.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Indicates the HTTP Method supported by exposed method in the controller.
     
  • Element Details

    • method

      Indicates the HTTP Method supported by exposed method in the controller.
      Default:
      GET
    • methods

      RequestMethod[] methods
      Default:
      {}