public interface PreProcessInterceptor
{
ServerResponse preProcess(HttpRequest request, ResourceMethod method) throws Failure, WebApplicationException;
}
public interface PreProcessInterceptor
{
ServerResponse preProcess(HttpRequest request, ResourceMethod method) throws Failure, WebApplicationException;
}
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
for (PreProcessInterceptor interceptor : preProcessInterceptors) {
ServerResponse response = interceptor.preProcess(request, method);
if (response != null) return response;
}
executeJaxrsMethod(...);
for (PreProcessInterceptor interceptor : preProcessInterceptors) {
ServerResponse response = interceptor.preProcess(request, method);
if (response != null) return response;
}
executeJaxrsMethod(...);
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow