com.acsinet_solutions.cetia4.controller.meta
Annotation Type Method


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
@Inherited
public @interface Method

Overrides controller method values. Allows the method to define a name and request type to answer

Author:
Santiago Arriaga

Optional Element Summary
 java.lang.String name
          The name of themethod, if provided.
 java.lang.String[] types
          The list of request types that are answered by the current method; an empty list means any request type is answered ( default ).
 

name

public abstract java.lang.String name
The name of themethod, if provided.

See Also:
RestController.getMethodName()
Default:
""

types

public abstract java.lang.String[] types
The list of request types that are answered by the current method; an empty list means any request type is answered ( default ).

See Also:
RequestType
Default:
{}