@ResponseConverter(ServerSentEventResponseConverterFunction.class)
        @Produces(MediaTypeNames.EVENT_STREAM)
        @Streaming(true)
        @Get("/serverSentEventStream")
        public Stream<ServerSentEvent> serverSentEventStream() {
            return Stream.of(ServerSentEvent.ofData("serverSentEventStream"));
        }
A mock service for testing {@link ServerSentEventResponseConverterFunction}.
core/src/test/java/com/linecorp/armeria/internal/server/annotation/ResponseStreamingTest.java