Class GetMethod

  • All Implemented Interfaces:
    org.bedework.util.logging.Logged, SecureXml
    Direct Known Subclasses:
    HeadMethod

    public class GetMethod
    extends MethodBase
    Class called to handle GET Get the content of a node. Note this is subclassed by HeadMethod which overrides init and sets doContent false.
    Author:
    Mike Douglass douglm rpi.edu
    • Field Detail

      • doContent

        protected boolean doContent
    • Constructor Detail

      • GetMethod

        public GetMethod()
    • Method Detail

      • init

        public void init()
        Description copied from class: MethodBase
        Called at each request
        Specified by:
        init in class MethodBase
      • doMethod

        public void doMethod​(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse resp)
                      throws WebdavException
        Specified by:
        doMethod in class MethodBase
        Parameters:
        req - http request
        resp - http response
        Throws:
        WebdavException - on fatal error