public class DoGet extends DoHead
contentLength, dftIndexFile, insteadOf404, mimeTyper, resourceLocks, store
BUF_SIZE, CREATION_DATE_FORMAT, DEFAULT_TIMEOUT, INFINITY, LAST_MODIFIED_DATE_FORMAT, LOCAL_DATE_FORMAT, MAX_TIMEOUT, TEMP_TIMEOUT, TEMPORARY, URL_ENCODER
Constructor and Description |
---|
DoGet(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) |
protected void |
folderBody(ITransaction transaction,
String path,
HttpServletResponse resp,
HttpServletRequest req) |
protected String |
getCSS()
Return the CSS styles used to display the HTML representation of the webdav content.
|
protected DateFormat |
getDateTimeFormat(Locale browserLocale)
Return this as the Date/Time format for displaying Creation + Modification dates
|
protected String |
getFooter(ITransaction transaction,
String path,
HttpServletResponse resp,
HttpServletRequest req)
Return the footer to be displayed after the folder content
|
protected String |
getHeader(ITransaction transaction,
String path,
HttpServletResponse resp,
HttpServletRequest req)
Return the header to be displayed in front of the folder content
|
creationDateFormat, getCleanPath, getDepth, getDocumentBuilder, getETag, getLocalDateFormat, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getParentPath, getRelativePath, isUnlocked, lastModifiedDateFormat, rewriteUrl, sendReport
public DoGet(IWebdavStore store, String dftIndexFile, String insteadOf404, ResourceLocks resourceLocks, IMimeTyper mimeTyper, int contentLengthHeader)
protected void doBody(ITransaction transaction, HttpServletResponse resp, String path)
protected void folderBody(ITransaction transaction, String path, HttpServletResponse resp, HttpServletRequest req) throws IOException
folderBody
in class DoHead
IOException
protected String getCSS()
protected String getHeader(ITransaction transaction, String path, HttpServletResponse resp, HttpServletRequest req)
transaction
- path
- resp
- req
- protected String getFooter(ITransaction transaction, String path, HttpServletResponse resp, HttpServletRequest req)
transaction
- path
- resp
- req
- protected DateFormat getDateTimeFormat(Locale browserLocale)
browserLocale
- Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.