org.opencrx.application.uses.net.sf.webdav.methods
Class DoGet

java.lang.Object
  extended by org.opencrx.application.uses.net.sf.webdav.methods.WebDavMethod
      extended by org.opencrx.application.uses.net.sf.webdav.methods.DoHead
          extended by org.opencrx.application.uses.net.sf.webdav.methods.DoGet

public class DoGet
extends DoHead


Field Summary
 
Fields inherited from class org.opencrx.application.uses.net.sf.webdav.methods.DoHead
_store
 
Fields inherited from class org.opencrx.application.uses.net.sf.webdav.methods.WebDavMethod
BUF_SIZE, CREATION_DATE_FORMAT, DEFAULT_TIMEOUT, INFINITY, LAST_MODIFIED_DATE_FORMAT, MAX_TIMEOUT, TEMP_TIMEOUT, TEMPORARY
 
Constructor Summary
DoGet(WebDavStore store)
           
 
Method Summary
protected  void doBody(RequestContext requestContext, Resource res)
           
protected  void folderBody(RequestContext requestContext, Resource so)
           
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(RequestContext requestContext, String name)
          Return the footer to be displayed after the folder content
protected  String getHeader(RequestContext requestContext, String name)
          Return the header to be displayed in front of the folder content
 
Methods inherited from class org.opencrx.application.uses.net.sf.webdav.methods.DoHead
execute
 
Methods inherited from class org.opencrx.application.uses.net.sf.webdav.methods.WebDavMethod
checkLocks, determineMethodsAllowed, encodeURL, getCleanPath, getDefaultMethodsAllowed, getDepth, getDocumentBuilder, getETag, getFolderMethodsAllowed, getHRef, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getNullResourceMethodsAllowed, getParentPath, getRelativePath, getRelativePath, getResourceMethodsAllowed, getVersion, sendReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoGet

public DoGet(WebDavStore store)
Method Detail

doBody

protected void doBody(RequestContext requestContext,
                      Resource res)
Overrides:
doBody in class DoHead

folderBody

protected void folderBody(RequestContext requestContext,
                          Resource so)
                   throws IOException
Overrides:
folderBody in class DoHead
Throws:
IOException

getCSS

protected String getCSS()
Return the CSS styles used to display the HTML representation of the webdav content.

Returns:
String returning the CSS style sheet used to display result in html format

getDateTimeFormat

protected DateFormat getDateTimeFormat(Locale browserLocale)
Return this as the Date/Time format for displaying Creation + Modification dates

Parameters:
browserLocale -
Returns:
DateFormat used to display creation and modification dates

getHeader

protected String getHeader(RequestContext requestContext,
                           String name)
Return the header to be displayed in front of the folder content

Parameters:
requestContext -
path -
Returns:
String representing the header to be display in front of the folder content

getFooter

protected String getFooter(RequestContext requestContext,
                           String name)
Return the footer to be displayed after the folder content

Parameters:
requestContext -
name -
Returns:
String representing the footer to be displayed after the folder content


This software is published under the BSD license. Copyright © 2003-2013, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.