public interface InvokerPreprocessor
Components implementing this interface can be plugged into AroundProcessableJAXRSInvoker
,
which preprocess Exchange and request object before the default JAXRSInvoker
works.
For example, you may check Exchange information such as operation info in order to check some
pre-conditions such as security annotation and return a custom HTTP error message
instead of continuing with the default JAXRSInvoker
.
AroundProcessableJAXRSInvoker}
Modifier and Type | Method and Description |
---|---|
Object |
preprocoess(org.apache.cxf.message.Exchange exchange,
Object request)
If this preprocessor is able to decide a return message before continuing with the default JAXRS processing,
then this method should return a message object.
|
Object preprocoess(org.apache.cxf.message.Exchange exchange, Object request)
exchange
- request
- Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.