Class ApiResponse
java.lang.Object
com.google.adk.network.ApiResponse
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
HttpApiResponse
The API response contains a response to a call to the GenAI APIs.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ApiResponse
public ApiResponse()
-
-
Method Details
-
getEntity
public abstract okhttp3.ResponseBody getEntity()Gets the ResponseBody. -
close
public abstract void close()- Specified by:
close
in interfaceAutoCloseable
-