Constructor and Description |
---|
PXHttpClient(PXConfiguration pxConfiguration) |
Modifier and Type | Method and Description |
---|---|
PXDynamicConfiguration |
getConfigurationFromServer()
Calling remote configuration server and fetching the latest configuration values
|
RiskResponse |
riskApiCall(PXContext pxContext)
Calling PX Server with Risk API call
|
void |
sendActivity(Activity activity)
Calling PX Server to report Activity
|
void |
sendBatchActivities(List<Activity> activities)
Calling PX Server to report Activity
|
void |
sendEnforcerTelemetry(EnforcerTelemetry enforcerTelemetry)
Calling PX Servers and reporting enforcer telemetry asynchronously
|
public PXHttpClient(PXConfiguration pxConfiguration) throws PXException
PXException
public RiskResponse riskApiCall(PXContext pxContext) throws IOException
PXClient
riskApiCall
in interface PXClient
RiskResponse
IOException
public void sendActivity(Activity activity) throws IOException
PXClient
sendActivity
in interface PXClient
activity
- - the activity we want to reportIOException
public void sendBatchActivities(List<Activity> activities) throws IOException
PXClient
sendBatchActivities
in interface PXClient
activities
- - the activites we want to reportIOException
public PXDynamicConfiguration getConfigurationFromServer()
PXClient
getConfigurationFromServer
in interface PXClient
public void sendEnforcerTelemetry(EnforcerTelemetry enforcerTelemetry) throws IOException
PXClient
sendEnforcerTelemetry
in interface PXClient
IOException
Copyright © 2021 PerimeterX. All rights reserved.