Class DoGet

All Implemented Interfaces:
IMethodExecutor

public class DoGet extends DoHead
  • Constructor Details

  • Method Details

    • doBody

      protected void doBody(ITransaction transaction, jakarta.servlet.http.HttpServletResponse resp, String path)
      Overrides:
      doBody in class DoHead
    • folderBody

      protected void folderBody(ITransaction transaction, String path, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.http.HttpServletRequest req) 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:
      the CSS styles
    • getHeader

      protected String getHeader(ITransaction transaction, String path, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.http.HttpServletRequest req)
      Return the header to be displayed in front of the folder content
      Parameters:
      transaction - the transaction
      path - the path
      resp - the http response
      req - the http request
      Returns:
      the header
    • getFooter

      protected String getFooter(ITransaction transaction, String path, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.http.HttpServletRequest req)
      Return the footer to be displayed after the folder content
      Parameters:
      transaction - the transaction
      path - the path
      resp - the http response
      req - the http request
      Returns:
      the footer
    • getDateTimeFormat

      protected DateFormat getDateTimeFormat(Locale browserLocale)
      Return this as the Date/Time format for displaying Creation + Modification dates
      Parameters:
      browserLocale - the browser locale
      Returns:
      DateFormat used to display creation and modification dates