Class SseServerParameters.Builder
java.lang.Object
com.google.adk.tools.mcp.SseServerParameters.Builder
- Enclosing class:
SseServerParameters
Builder for
SseServerParameters.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SseServerParametersbuild()Builds a newSseServerParametersinstance.abstract SseServerParameters.BuilderSets the headers for the SSE connection request.abstract SseServerParameters.BuildersseReadTimeout(Duration sseReadTimeout) Sets the timeout for reading data from the SSE stream.abstract SseServerParameters.BuilderSets the timeout for the initial connection attempt.abstract SseServerParameters.BuilderSets the URL of the SSE server.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
url
Sets the URL of the SSE server. -
headers
Sets the headers for the SSE connection request. -
timeout
Sets the timeout for the initial connection attempt. -
sseReadTimeout
Sets the timeout for reading data from the SSE stream. -
build
Builds a newSseServerParametersinstance.
-