public interface SseClientFactory
Modifier and Type | Method and Description |
---|---|
SseClient |
createSseClient(URL url)
Create a new
SseClient . |
SseClient |
createSseClient(URL url,
HttpClientConfiguration configuration)
Create a new
SseClient with the specified configuration. |
@NonNull SseClient createSseClient(@Nullable URL url)
SseClient
. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject
to inject a client insteadurl
- The base URL@NonNull SseClient createSseClient(@Nullable URL url, @NonNull HttpClientConfiguration configuration)
SseClient
with the specified configuration. Note that this method should only be used
outside of the context of an application. Within Micronaut use Inject
to inject a client insteadurl
- The base URLconfiguration
- the client configuration