Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

JAX-RS Interceptors

$
0
0
Hi there,

from what I understood is that I can use an AbstractPhaseInterceptor for
SOAP and for REST messages.

When doing REST web services, would you advise that I should use
ContainerRequestFilter/ContainerResponseFilter's instead?

Is there an option to set the "phase" when those Filters are triggered?
(like RECEIVE, UNMARSHAL, POST_INVOKE, etc. in an InterceptorChain)?

regards,
Richard

Viewing all articles
Browse latest Browse all 5648

Trending Articles