code: public void addHttpHeaderToResponseStream(final HttpServletResponse servletResponse,
                                                final UriInfo uriInfo,
                                                final FedoraResource resource) {
  
          getUriAwareHttpHeaderFactories().forEach((bean, factory) -> {
              LOGGER.debug("Adding HTTP headers using: {}", bean);
              final Multimap<String, String> h = factory.createHttpHeadersForResource(uriInfo, resource);
  
              h.entries().forEach(entry -> {
                  servletResponse.addHeader(entry.getKey(), entry.getValue());
              });
          });
      }
docs: Add additional Http Headers
  
  @param servletResponse the response
  @param uriInfo the URI context
  @param resource the resource