Class RoleProfileHandler

  • All Implemented Interfaces:
    org.swisspush.gateleen.core.logging.LoggableResource

    public class RoleProfileHandler
    extends java.lang.Object
    implements org.swisspush.gateleen.core.logging.LoggableResource
    Author:
    https://github.com/lbovet [Laurent Bovet]
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String UPDATE_ADDRESS  
    • Constructor Summary

      Constructors 
      Constructor Description
      RoleProfileHandler​(io.vertx.core.Vertx vertx, org.swisspush.gateleen.core.storage.ResourceStorage storage, java.lang.String roleProfileUriPattern)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void enableResourceLogging​(boolean resourceLoggingEnabled)  
      void handle​(io.vertx.core.http.HttpServerRequest request)  
      boolean isRoleProfileRequest​(io.vertx.core.http.HttpServerRequest request)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RoleProfileHandler

        public RoleProfileHandler​(io.vertx.core.Vertx vertx,
                                  org.swisspush.gateleen.core.storage.ResourceStorage storage,
                                  java.lang.String roleProfileUriPattern)
    • Method Detail

      • isRoleProfileRequest

        public boolean isRoleProfileRequest​(io.vertx.core.http.HttpServerRequest request)
      • enableResourceLogging

        public void enableResourceLogging​(boolean resourceLoggingEnabled)
        Specified by:
        enableResourceLogging in interface org.swisspush.gateleen.core.logging.LoggableResource
      • handle

        public void handle​(io.vertx.core.http.HttpServerRequest request)