Class Dap4Controller

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    @Controller
    @RequestMapping("/dap4")
    public class Dap4Controller
    extends dap4.servlet.DapController
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class dap4.servlet.DapController

        BIG_ENDIAN, cache, DATAEXT, DEFAULTBINARYWRITELIMIT, DMREXT, DSREXT, DUMPDATA, DUMPDMR, ENDINGS, FAVICON, initialized, IS_BIG_ENDIAN, LITTLE_ENDIAN, TESTING
    • Constructor Summary

      Constructors 
      Constructor Description
      Dap4Controller()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doCapabilities​(dap4.servlet.DapRequest drq, dap4.core.util.DapContext cxt)  
      protected void doFavicon​(String icopath, dap4.core.util.DapContext cxt)  
      long getBinaryWriteLimit()  
      String getResourcePath​(dap4.servlet.DapRequest drq, String location)  
      String getServletID()  
      void handleRequest​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)  
      • Methods inherited from class dap4.servlet.DapController

        addCommonHeaders, doData, doDMR, doDSR, getCache, getRequestState, init, initialize, printDMR, senderror, setCache
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    • Constructor Detail

      • Dap4Controller

        public Dap4Controller()
    • Method Detail

      • handleRequest

        @RequestMapping("**")
        public void handleRequest​(javax.servlet.http.HttpServletRequest req,
                                  javax.servlet.http.HttpServletResponse res)
                           throws IOException
        Overrides:
        handleRequest in class dap4.servlet.DapController
        Throws:
        IOException
      • doFavicon

        protected void doFavicon​(String icopath,
                                 dap4.core.util.DapContext cxt)
                          throws IOException
        Specified by:
        doFavicon in class dap4.servlet.DapController
        Throws:
        IOException
      • doCapabilities

        protected void doCapabilities​(dap4.servlet.DapRequest drq,
                                      dap4.core.util.DapContext cxt)
                               throws IOException
        Specified by:
        doCapabilities in class dap4.servlet.DapController
        Throws:
        IOException
      • getBinaryWriteLimit

        public long getBinaryWriteLimit()
        Specified by:
        getBinaryWriteLimit in class dap4.servlet.DapController
      • getServletID

        public String getServletID()
        Specified by:
        getServletID in class dap4.servlet.DapController
      • getResourcePath

        public String getResourcePath​(dap4.servlet.DapRequest drq,
                                      String location)
                               throws dap4.core.util.DapException
        Specified by:
        getResourcePath in class dap4.servlet.DapController
        Throws:
        dap4.core.util.DapException