public interface SLAEnforcement
| Modifier and Type | Method and Description |
|---|---|
void |
handleAbort(HttpContext context)
This method is called when traffic cannot reach south bound.
|
void |
validateSLA(HttpContext context,
Subject user,
String accessUrl,
String requestUrl,
String method,
String path)
This method is used to validate the request API against SLA's validation
time.
|
void validateSLA(HttpContext context, Subject user, String accessUrl, String requestUrl, String method, String path) throws SLAException
context - The HTTP context.user - For OCSG, it is appInstanceId.accessUrl - Request's base access url to match service type.requestUrl - Request's complete access url to match SCS.method - HTTP method or SOAP method.path - Request path.SLAException - exception.void handleAbort(HttpContext context) throws SLAException
context - The HTTP context.SLAException - exception.