/** * Indicates if the call should be logged during the processing chain. By * default, it tries to match the request URI with the * {@link #getLoggableTemplate()} URI template otherwise is returns true. * * @param request * The request to log. * @return True if the call should be logged during the processing chain. */ public boolean isLoggable(Request request) { return (getLoggableTemplate() == null) ? true : getLoggableTemplate() .match(request.getResourceRef().getTargetRef().toString()) > 0; }