Class MethodBase.MethodInfo

java.lang.Object
org.bedework.webdav.servlet.common.MethodBase.MethodInfo
Enclosing class:
MethodBase

public static class MethodBase.MethodInfo extends Object
Allow servlet to create method.
  • Constructor Details

    • MethodInfo

      public MethodInfo(Class<?> methodClass, boolean requiresAuth)
      Parameters:
      methodClass - class of method
      requiresAuth - true for requires auth
  • Method Details

    • 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.