class ImmutableMessageHeaders extends AbstractDittoHeaders implements MessageHeaders {

    @Override
    public Optional<HttpStatusCode> getStatusCode() {
        return getStringForDefinition(MessageHeaderDefinition.STATUS_CODE)
                .map(Integer::parseInt)
                .flatMap(HttpStatusCode::forInt);
    }

    private  ImmutableMessageHeaders(final Map<String, String> theDittoHeaders);

}