class ContainerRequest implements GenericContainerRequest {

    @Override
    public Locale getLanguage() {
        if (contentLanguage == null && httpHeaders.getFirst(CONTENT_LANGUAGE) != null) {
            contentLanguage = RuntimeDelegate.getInstance().createHeaderDelegate(Locale.class).fromString(httpHeaders.getFirst(CONTENT_LANGUAGE));
        }

        return contentLanguage;
    }

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

}