Package nl.info.webdav.methods
Class DoHead
java.lang.Object
nl.info.webdav.methods.AbstractMethod
nl.info.webdav.methods.DoHead
- All Implemented Interfaces:
IMethodExecutor
- Direct Known Subclasses:
DoGet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected Stringprotected Stringprotected IMimeTyperprotected ResourceLocksprotected IWebdavStoreFields inherited from class nl.info.webdav.methods.AbstractMethod
BUF_SIZE, CREATION_DATE_FORMAT, DEFAULT_TIMEOUT, INFINITY, LAST_MODIFIED_DATE_FORMAT, LOCAL_DATE_FORMAT, MAX_TIMEOUT, TEMP_TIMEOUT, TEMPORARY, URL_ENCODER -
Constructor Summary
ConstructorsConstructorDescriptionDoHead(IWebdavStore store, String dftIndexFile, String insteadOf404, ResourceLocks resourceLocks, IMimeTyper mimeTyper, int contentLengthHeader) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoBody(ITransaction transaction, jakarta.servlet.http.HttpServletResponse resp, String path) voidexecute(ITransaction transaction, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) protected voidfolderBody(ITransaction transaction, String path, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.http.HttpServletRequest req) Methods inherited from class nl.info.webdav.methods.AbstractMethod
checkLocks, creationDateFormat, getCleanPath, getDepth, getDocumentBuilder, getETag, getLocalDateFormat, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getParentPath, getRelativePath, lastModifiedDateFormat, rewriteUrl, sendReport
-
Field Details
-
_dftIndexFile
-
_store
-
_insteadOf404
-
_resourceLocks
-
_mimeTyper
-
_contentLength
protected int _contentLength
-
-
Constructor Details
-
DoHead
public DoHead(IWebdavStore store, String dftIndexFile, String insteadOf404, ResourceLocks resourceLocks, IMimeTyper mimeTyper, int contentLengthHeader)
-
-
Method Details
-
execute
public void execute(ITransaction transaction, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws IOException, LockFailedException - Throws:
IOExceptionLockFailedException
-
folderBody
protected void folderBody(ITransaction transaction, String path, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.http.HttpServletRequest req) throws IOException - Throws:
IOException
-
doBody
protected void doBody(ITransaction transaction, jakarta.servlet.http.HttpServletResponse resp, String path) throws IOException - Throws:
IOException
-