public abstract class PluginRequestFilter
extends java.lang.Object
| Constructor and Description |
|---|
PluginRequestFilter() |
| Modifier and Type | Method and Description |
|---|---|
abstract com.ibm.json.java.JSONObject |
filter(PluginServiceCallbacks callbacks,
javax.servlet.http.HttpServletRequest request,
com.ibm.json.java.JSONArtifact jsonRequest)
Filters a request that is submitted to a service.
|
abstract java.lang.String[] |
getFilteredServices()
Returns the names of the services that are extended by this filter.
|
public abstract java.lang.String[] getFilteredServices()
String array that contains the names of the services.public abstract com.ibm.json.java.JSONObject filter(PluginServiceCallbacks callbacks, javax.servlet.http.HttpServletRequest request, com.ibm.json.java.JSONArtifact jsonRequest) throws java.lang.Exception
callbacks - An instance of PluginServiceCallbacks that contains several functions that can be used by the
service. These functions provide access to plug-in configuration and content server APIs.request - The HttpServletRequest object that provides the request. The service can access the invocation parameters from the
request. Note: The request object can be passed to a response filter to allow a plug-in to communicate
information between a request and response filter.jsonRequest - A JSONArtifact that provides the request in JSON format. If the request does not include a JSON Artifact
object, this parameter returns null.JSONObject object. If this object is not null, the service is skipped and the
JSON object is used as the response.java.lang.Exception