Class MethodBase.MethodInfo
java.lang.Object
org.bedework.webdav.servlet.common.MethodBase.MethodInfo
- Enclosing class:
- MethodBase
Allow servlet to create method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>booleanCalled when servicing a request to determine if this method requires authentication.
-
Constructor Details
-
MethodInfo
- Parameters:
methodClass- class of methodrequiresAuth- true for requires auth
-
-
Method Details
-
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.
-