| Package | Description |
|---|---|
| org.noear.solon.net.http | |
| org.noear.solon.net.http.impl | |
| org.noear.solon.net.http.textstream |
| Modifier and Type | Method and Description |
|---|---|
default org.reactivestreams.Publisher<ServerSentEvent> |
HttpUtils.execAsEventStream(String method)
Deprecated.
|
org.reactivestreams.Publisher<ServerSentEvent> |
HttpUtils.execAsSseStream(String method)
执行请求并返回服务端推送事件流
|
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<ServerSentEvent> |
AbstractHttpUtils.execAsSseStream(String method) |
| Modifier and Type | Method and Description |
|---|---|
ServerSentEvent |
ServerSentEvent.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
static org.reactivestreams.Publisher<ServerSentEvent> |
TextStreamUtil.parseSseStream(HttpResponse response)
解析服务推送事件流
|
static org.reactivestreams.Publisher<ServerSentEvent> |
TextStreamUtil.parseSseStream(InputStream inputStream)
解析服务推送事件流
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TextStreamUtil.parseEventStream(InputStream inputStream,
org.reactivestreams.Subscriber<? super ServerSentEvent> subscriber)
Deprecated.
|
static void |
TextStreamUtil.parseSseStream(HttpResponse response,
org.reactivestreams.Subscriber<? super ServerSentEvent> subscriber)
解析服务推送事件流
|
static void |
TextStreamUtil.parseSseStream(InputStream inputStream,
Charset charset,
org.reactivestreams.Subscriber<? super ServerSentEvent> subscriber)
解析服务推送事件流
|
Copyright © 2025. All rights reserved.