public class DoHead extends AbstractMethod
| Modifier and Type | Field and Description |
|---|---|
protected int |
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, LOCAL_DATE_FORMAT, logger, MAX_TIMEOUT, TEMP_TIMEOUT, TEMPORARY, URL_ENCODER| Constructor and Description |
|---|
DoHead(IWebdavStore store,
String dftIndexFile,
String insteadOf404,
ResourceLocks resourceLocks,
IMimeTyper mimeTyper,
int contentLengthHeader) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doBody(ITransaction transaction,
HttpServletResponse resp,
String path) |
void |
execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
protected void |
folderBody(ITransaction transaction,
String path,
HttpServletResponse resp,
HttpServletRequest req) |
creationDateFormat, getCleanPath, getDepth, getDocumentBuilder, getETag, getLocalDateFormat, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getParentPath, getRelativePath, isUnlocked, lastModifiedDateFormat, rewriteUrl, sendReportprotected final String dftIndexFile
protected final IWebdavStore store
protected final String insteadOf404
protected final ResourceLocks resourceLocks
protected final IMimeTyper mimeTyper
protected final int contentLength
public DoHead(IWebdavStore store, String dftIndexFile, String insteadOf404, ResourceLocks resourceLocks, IMimeTyper mimeTyper, int contentLengthHeader)
public void execute(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp) throws IOException, LockFailedException
IOExceptionLockFailedExceptionprotected void folderBody(ITransaction transaction, String path, HttpServletResponse resp, HttpServletRequest req) throws IOException
IOExceptionprotected void doBody(ITransaction transaction, HttpServletResponse resp, String path) throws IOException
IOExceptionCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.