Class JsonApiManager

    • Constructor Detail

      • JsonApiManager

        public JsonApiManager()
    • Method Detail

      • register

        @PostConstruct
        public void register()
      • matches

        public boolean matches​(javax.servlet.http.HttpServletRequest request)
      • process

        public void process​(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            javax.servlet.FilterChain chain)
                     throws java.io.IOException,
                            javax.servlet.ServletException
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • processScrollSearchRequest

        protected void processScrollSearchRequest​(javax.servlet.http.HttpServletRequest request,
                                                  javax.servlet.http.HttpServletResponse response,
                                                  javax.servlet.FilterChain chain)
      • processPingRequest

        protected void processPingRequest​(javax.servlet.http.HttpServletRequest request,
                                          javax.servlet.http.HttpServletResponse response,
                                          javax.servlet.FilterChain chain)
      • processSearchRequest

        protected void processSearchRequest​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            javax.servlet.FilterChain chain)
      • toGeoRequestString

        protected java.lang.String toGeoRequestString​(GeoInfo geoInfo)
      • detailedMessage

        protected java.lang.String detailedMessage​(java.lang.Throwable t)
      • processLabelRequest

        protected void processLabelRequest​(javax.servlet.http.HttpServletRequest request,
                                           javax.servlet.http.HttpServletResponse response,
                                           javax.servlet.FilterChain chain)
      • processPopularWordRequest

        protected void processPopularWordRequest​(javax.servlet.http.HttpServletRequest request,
                                                 javax.servlet.http.HttpServletResponse response,
                                                 javax.servlet.FilterChain chain)
      • processFavoriteRequest

        protected void processFavoriteRequest​(javax.servlet.http.HttpServletRequest request,
                                              javax.servlet.http.HttpServletResponse response,
                                              javax.servlet.FilterChain chain)
      • processFavoritesRequest

        protected void processFavoritesRequest​(javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response,
                                               javax.servlet.FilterChain chain)
      • writeHeaders

        protected void writeHeaders​(javax.servlet.http.HttpServletResponse response)
        Specified by:
        writeHeaders in class BaseApiManager