Class AbstractSimpleRedirectWeChatService

    • Constructor Detail

      • AbstractSimpleRedirectWeChatService

        public AbstractSimpleRedirectWeChatService()
    • Method Detail

      • redirectToAuthorize

        public void redirectToAuthorize​(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
                                 throws javax.servlet.ServletException,
                                        IOException
        Redirect to WeChat server to authorize.
        Specified by:
        redirectToAuthorize in interface WeChatService
        Parameters:
        request - the HTTP request.
        response - the HTTP response.
        Throws:
        javax.servlet.ServletException - indicates servlet exception.
        IOException - indicates I/O exception.
      • getAuthorizationURL

        public abstract String getAuthorizationURL​(javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
                                            throws javax.servlet.ServletException,
                                                   IOException
        Throws:
        javax.servlet.ServletException
        IOException