Class Oauth2UserGetHandler

  • All Implemented Interfaces:
    io.undertow.server.HttpHandler

    public class Oauth2UserGetHandler
    extends UserAuditHandler
    implements io.undertow.server.HttpHandler
    Created by stevehu on 2017-01-03. The current implementation creates a new PagingPredicate for each request which is not very efficient. We should create a map of PagingPredicate object with user_id as key from JWT. In that case, the same user navigate from page to page will use the same object without creating a new one each request. TODO implement above once people report performance issue.
    • Constructor Detail

      • Oauth2UserGetHandler

        public Oauth2UserGetHandler()
    • Method Detail

      • handleRequest

        public void handleRequest​(io.undertow.server.HttpServerExchange exchange)
                           throws Exception
        Specified by:
        handleRequest in interface io.undertow.server.HttpHandler
        Throws:
        Exception