public function response(ServerRequestInterface $request, PayloadInterface $payload): ResponseInterface
    {
        $responder = $this->container->get($this->id);

        if ($responder instanceof ResponderInterface) {

            return $responder->response($request, $payload);

        }

        throw new ContainedResponderTypeException($this->id, $responder);
    }