Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RequestFilter implements ContainerRequestFilter {
- private static final Logger LOG = LoggerFactory.getLogger(RequestFilter.class);
- @Override
- public void filter(ContainerRequestContext requestContext) throws IOException {
- LOG.info("REST-Request from '{}' for '{}'", "XXX", requestContext.getUriInfo().getPath());
- // ... and do some auth stuff (not relevant for this question)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement