Package org.swisspush.gateleen.user
Class UserProfileHandler
- java.lang.Object
-
- org.swisspush.gateleen.user.UserProfileHandler
-
- All Implemented Interfaces:
org.swisspush.gateleen.core.logging.LoggableResource
public class UserProfileHandler extends Object implements org.swisspush.gateleen.core.logging.LoggableResource
- Author:
- https://github.com/lbovet [Laurent Bovet]
-
-
Constructor Summary
Constructors Constructor Description UserProfileHandler(io.vertx.core.Vertx vertx, org.swisspush.gateleen.core.storage.ResourceStorage storage, UserProfileConfiguration userProfileConfiguration)Constructor for the UserProfileHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcleanupUserProfile(io.vertx.core.json.JsonObject profile, io.vertx.core.Handler<io.vertx.core.json.JsonObject> profileCallback)voidenableResourceLogging(boolean resourceLoggingEnabled)voidhandle(io.vertx.core.http.HttpServerRequest request)booleanisUserProfileRequest(io.vertx.core.http.HttpServerRequest request)
-
-
-
Constructor Detail
-
UserProfileHandler
public UserProfileHandler(io.vertx.core.Vertx vertx, org.swisspush.gateleen.core.storage.ResourceStorage storage, UserProfileConfiguration userProfileConfiguration)Constructor for the UserProfileHandler.- Parameters:
vertx- vertxstorage- storageuserProfileConfiguration- userProfileConfiguration
-
-
Method Detail
-
enableResourceLogging
public void enableResourceLogging(boolean resourceLoggingEnabled)
- Specified by:
enableResourceLoggingin interfaceorg.swisspush.gateleen.core.logging.LoggableResource
-
isUserProfileRequest
public boolean isUserProfileRequest(io.vertx.core.http.HttpServerRequest request)
-
handle
public void handle(io.vertx.core.http.HttpServerRequest request)
-
cleanupUserProfile
protected void cleanupUserProfile(io.vertx.core.json.JsonObject profile, io.vertx.core.Handler<io.vertx.core.json.JsonObject> profileCallback)
-
-