public class DoHead extends AbstractMethod
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_contentLength |
protected String |
_dftIndexFile |
protected String |
_insteadOf404 |
protected IMimeTyper |
_mimeTyper |
protected ResourceLocks |
_resourceLocks |
protected IWebdavStore |
_store |
BUF_SIZE, CREATION_DATE_FORMAT, DEFAULT_TIMEOUT, INFINITY, LAST_MODIFIED_DATE_FORMAT, MAX_TIMEOUT, TEMP_TIMEOUT, TEMPORARY, URL_ENCODER| Constructor and Description |
|---|
DoHead(IWebdavStore store,
String dftIndexFile,
String insteadOf404,
ResourceLocks resourceLocks,
IMimeTyper mimeTyper,
boolean contentLengthHeader) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doBody(ITransaction transaction,
WebdavResponse resp,
String path) |
void |
execute(ITransaction transaction,
WebdavRequest req,
WebdavResponse resp) |
protected void |
folderBody(ITransaction transaction,
String path,
WebdavResponse resp,
WebdavRequest req) |
checkLocks, ensureLeadingSlash, getCleanPath, getDepth, getDocumentBuilder, getETag, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getParentPath, getRelativePath, rewriteUrl, sendReportprotected String _dftIndexFile
protected IWebdavStore _store
protected String _insteadOf404
protected ResourceLocks _resourceLocks
protected IMimeTyper _mimeTyper
protected boolean _contentLength
public DoHead(IWebdavStore store, String dftIndexFile, String insteadOf404, ResourceLocks resourceLocks, IMimeTyper mimeTyper, boolean contentLengthHeader)
public void execute(ITransaction transaction, WebdavRequest req, WebdavResponse resp) throws IOException, WebdavException
IOExceptionWebdavExceptionprotected void folderBody(ITransaction transaction, String path, WebdavResponse resp, WebdavRequest req) throws IOException, WebdavException
IOExceptionWebdavExceptionprotected void doBody(ITransaction transaction, WebdavResponse resp, String path) throws IOException, WebdavException
IOExceptionWebdavExceptionCopyright © 2014. All Rights Reserved.