public class DefaultActivityHandler extends Object implements ActivityHandler
Created by shikloshi on 05/07/2016.
Constructor and Description |
---|
DefaultActivityHandler(PXClient client,
PXConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
handleBlockActivity(PXContext context)
Sends BlockActivity upon the request that was blocked
|
void |
handleEnforcerTelemetryActivity(PXConfiguration pxConfiguration,
UpdateReason updateReason)
Sends enforcer telemetry activity upon init/new configuration
|
void |
handlePageRequestedActivity(PXContext context)
Sends PageRequested Activity upon the valid request
|
public DefaultActivityHandler(PXClient client, PXConfiguration configuration)
public void handleBlockActivity(PXContext context) throws PXException
ActivityHandler
handleBlockActivity
in interface ActivityHandler
context
- - request contextPXException
public void handlePageRequestedActivity(PXContext context) throws PXException
ActivityHandler
handlePageRequestedActivity
in interface ActivityHandler
context
- - request contextPXException
public void handleEnforcerTelemetryActivity(PXConfiguration pxConfiguration, UpdateReason updateReason) throws PXException
ActivityHandler
handleEnforcerTelemetryActivity
in interface ActivityHandler
PXException
Copyright © 2018 PerimeterX. All rights reserved.