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, toJsonString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public abstract String getRequestId()
public abstract void setRequestId(String requestId)
public void setResponse(okhttp3.Response response)
public boolean isStream()
isStream
in class AbstractModel
public 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 AbstractModel
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2024. All rights reserved.