Package nl.info.webdav
Class WebDavServletBean
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
nl.info.webdav.WebDavServletBean
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
- Direct Known Subclasses:
WebdavServlet
public class WebDavServletBean
extends jakarta.servlet.http.HttpServlet
- See Also:
-
Field Summary
FieldsFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()protected PrincipalgetUserPrincipal(jakarta.servlet.http.HttpServletRequest req) Method that permit to customize the way user information are extracted from the request, default use JAASvoidinit(IWebdavStore store, String dftIndexFile, String insteadOf404, int noContentLengthHeaders, boolean lazyFolderCreationOnPut) protected IMethodExecutorregister(String methodName, IMethodExecutor method) protected voidservice(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) Handles the special WebDAV methods.Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
_resLocks
-
_store
-
-
Constructor Details
-
WebDavServletBean
public WebDavServletBean()
-
-
Method Details
-
init
public void init(IWebdavStore store, String dftIndexFile, String insteadOf404, int noContentLengthHeaders, boolean lazyFolderCreationOnPut) -
destroy
public void destroy()- Specified by:
destroyin interfacejakarta.servlet.Servlet- Overrides:
destroyin classjakarta.servlet.GenericServlet
-
register
-
service
protected void service(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException Handles the special WebDAV methods.- Overrides:
servicein classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
getUserPrincipal
Method that permit to customize the way user information are extracted from the request, default use JAAS- Parameters:
req- the request- Returns:
- the principal
-