Class Service


  • @Configurable
    @Controller
    @RequestMapping(value="/service",
                    consumes="*/*",
                    produces="*/*")
    public class Service
    extends Object
    The servlet of the Service which receives the incoming HttpPost and HttpGet requests and sends the operation result documents to the client TODO review exception handling
    Since:
    1.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      Service()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      protected void doDefaultOptions​(Binding binding, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      void get​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      protected void onHttpException​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, HTTPException exception)  
      void post​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      void put​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      void setRequestTimeout​(Integer requestTimeout)  
    • Constructor Detail

      • Service

        public Service()
    • Method Detail

      • delete

        @RequestMapping(method=DELETE)
        public void delete​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws IOException
        Throws:
        IOException
      • get

        @RequestMapping(method=GET)
        public void get​(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws IOException
        Throws:
        IOException
      • post

        @RequestMapping(method=POST)
        public void post​(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws IOException
        Throws:
        IOException
      • put

        @RequestMapping(method=PUT)
        public void put​(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws IOException
        Throws:
        IOException
      • onHttpException

        protected void onHttpException​(javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response,
                                       HTTPException exception)
                                throws IOException
        Throws:
        IOException
      • doDefaultOptions

        protected void doDefaultOptions​(Binding binding,
                                        javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
                                 throws IOException,
                                        javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException