public abstract class SSEResponseModel extends AbstractModel implements Iterable<SSEResponseModel.SSE>, Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
SSEResponseModel.SSE |
header, skipSign| Constructor and Description |
|---|
SSEResponseModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
abstract String |
getRequestId() |
boolean |
isStream() |
Iterator<SSEResponseModel.SSE> |
iterator() |
abstract void |
setRequestId(String requestId) |
void |
setResponse(okhttp3.Response response) |
void |
setToken(CircuitBreaker.Token token) |
protected void |
toMap(HashMap<String,String> map,
String prefix) |
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic abstract String getRequestId()
public abstract void setRequestId(String requestId)
public void setResponse(okhttp3.Response response)
public boolean isStream()
isStream in class AbstractModelpublic void setToken(CircuitBreaker.Token token)
public Iterator<SSEResponseModel.SSE> iterator()
iterator in interface Iterable<SSEResponseModel.SSE>protected void toMap(HashMap<String,String> map, String prefix)
toMap in class AbstractModelpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2024. All rights reserved.