Interface RequestInterceptor
- All Superinterfaces:
Comparable<RequestInterceptor>,JolokiaService<RequestInterceptor>
Interface describing an interceptor wrapping around a request processing.
As input it gets the original
JolokiaRequest and the original JSONObject response
sent back to the client. The interceptor might add to the return value any extra
information to be sent to the client.- Since:
- 09.09.13
- Author:
- roland
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jolokia.server.core.service.api.JolokiaService
JolokiaService.Init -
Method Summary
Modifier and TypeMethodDescriptionvoidintercept(JolokiaRequest pRequest, org.json.simple.JSONObject pRetValue) Log the call to the given request.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.jolokia.server.core.service.api.JolokiaService
destroy, getOrder, getType, init
-
Method Details
-
intercept
Log the call to the given request. For bulk requests, this method is called multiple times, once for each included request.- Parameters:
pRequest- request receivedpRetValue- the value to be returned.
-