public class UserProfileHandler extends Object implements org.swisspush.gateleen.core.logging.LoggableResource
| Constructor and Description |
|---|
UserProfileHandler(io.vertx.core.Vertx vertx,
org.swisspush.gateleen.core.storage.ResourceStorage storage,
LoggingResourceManager loggingResourceManager,
UserProfileConfiguration userProfileConfiguration)
Deprecated.
Use
UserProfileHandler(Vertx, ResourceStorage, UserProfileConfiguration) instead,
because the LoggingResourceManager is not used anymore |
UserProfileHandler(io.vertx.core.Vertx vertx,
org.swisspush.gateleen.core.storage.ResourceStorage storage,
UserProfileConfiguration userProfileConfiguration)
Constructor for the UserProfileHandler.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanupUserProfile(io.vertx.core.json.JsonObject profile,
io.vertx.core.Handler<io.vertx.core.json.JsonObject> profileCallback) |
void |
enableResourceLogging(boolean resourceLoggingEnabled) |
void |
handle(io.vertx.core.http.HttpServerRequest request) |
boolean |
isUserProfileRequest(io.vertx.core.http.HttpServerRequest request) |
public UserProfileHandler(io.vertx.core.Vertx vertx,
org.swisspush.gateleen.core.storage.ResourceStorage storage,
UserProfileConfiguration userProfileConfiguration)
vertx - vertxstorage - storageuserProfileConfiguration - userProfileConfiguration@Deprecated public UserProfileHandler(io.vertx.core.Vertx vertx, org.swisspush.gateleen.core.storage.ResourceStorage storage, LoggingResourceManager loggingResourceManager, UserProfileConfiguration userProfileConfiguration)
UserProfileHandler(Vertx, ResourceStorage, UserProfileConfiguration) instead,
because the LoggingResourceManager is not used anymorevertx - vertxstorage - the storageloggingResourceManager - manager for the logging resourcesuserProfileConfiguration - userProfileConfigurationpublic void enableResourceLogging(boolean resourceLoggingEnabled)
enableResourceLogging in interface org.swisspush.gateleen.core.logging.LoggableResourcepublic boolean isUserProfileRequest(io.vertx.core.http.HttpServerRequest request)
public void handle(io.vertx.core.http.HttpServerRequest request)
protected void cleanupUserProfile(io.vertx.core.json.JsonObject profile,
io.vertx.core.Handler<io.vertx.core.json.JsonObject> profileCallback)
Copyright © 2016–2021. All rights reserved.