RangerRESTAPIFilter extends LoggingFilter { @Override public ContainerRequest filter(ContainerRequest request) { if (!initDone) { init(); } if (logStdOut) { String path = request.getRequestUri().getPath(); if ((request.getMediaType() == null || !"multipart".equals(request.getMediaType() .getType())) && !path.endsWith("/service/general/logs")) { try { request = super.filter(request); } catch (Throwable t) { logger.error("Error FILTER logging. path=" + path, t); } } } return request; }  @Override ContainerRequest filter(ContainerRequest request); @Override ContainerResponse filter(ContainerRequest request,
			ContainerResponse response);  }
@Test public void test1Filter() { rangerRESTAPIFilter.filter(request); }