code: @Override
      public void filter(final ContainerRequestContext context) throws IOException {
          final long id = _id.incrementAndGet();
          context.setProperty(LOGGING_ID_PROPERTY, id);
  
          final StringBuilder b = new StringBuilder();
  
          printRequestLine(b, "Server has received a request", id, context.getMethod(), context.getUriInfo().getRequestUri());
          printPrefixedHeaders(b, id, REQUEST_PREFIX, context.getHeaders());
  
          if (printEntity && context.hasEntity() && isSupportPrintType(context.getMediaType())) {
              context.setEntityStream(
                      logInboundEntity(b, context.getEntityStream(), MessageUtils.getCharset(context.getMediaType())));
          }
  
          log(b);
      }
docs: {@inheritDoc}