Class MethodBase.MethodInfo

  • Enclosing class:
    MethodBase

    public static class MethodBase.MethodInfo
    extends Object
    Allow servelt to create method.
    • Constructor Detail

      • MethodInfo

        public MethodInfo​(Class methodClass,
                          boolean requiresAuth)
        Parameters:
        methodClass -
        requiresAuth -
    • Method Detail

      • getMethodClass

        public Class getMethodClass()
        Returns:
        Class for this method
      • getRequiresAuth

        public boolean getRequiresAuth()
        Called when servicing a request to determine if this method requires authentication. Allows the servlet to reject attempts to change state while unauthenticated.
        Returns:
        boolean true if authentication required.