final MultivaluedMap<String, Object> httpResponseHeaders = new WrappedRequestForHttpHeaders(
tlContext.get().getResponse(), jaxRsRespHeaders);
final Representation repr;
if (entity != null) {
final MediaType respMediaType = determineMediaType(
jaxRsResponseMediaType, resourceMethod, entityClass,
genericReturnType);
final MessageBodyWriterSubSet mbws;
mbws = providers.writerSubSet(entityClass, genericReturnType);