class ContainerRequest implements GenericContainerRequest {

    @Override
    public MediaType getMediaType() {
        if (contentType == null && httpHeaders.getFirst(CONTENT_TYPE) != null) {
            contentType = MediaType.valueOf(httpHeaders.getFirst(CONTENT_TYPE));
        }

        return contentType;
    }

    public  ContainerRequest(String method, URI requestUri, URI baseUri, InputStream entityStream,
                            MultivaluedMap<String, String> httpHeaders, SecurityContext securityContext);

}