public function getAcceptableContentTypes()
    {
        if (null !== $this->acceptableContentTypes) {
            return $this->acceptableContentTypes;
        }

        $acceptableContentTypes = $this->headers->getParameterListAsObject('ACCEPT');

        return $this->acceptableContentTypes = $acceptableContentTypes->getParameterKeys();
    }