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 Summary
Constructors Constructor Description MethodInfo(Class<?> methodClass, boolean requiresAuth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getMethodClass()booleangetRequiresAuth()Called when servicing a request to determine if this method requires authentication.
-
-
-
Constructor Detail
-
MethodInfo
public MethodInfo(Class<?> methodClass, boolean requiresAuth)
- Parameters:
methodClass- class of methodrequiresAuth- true for requires auth
-
-
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.
-
-