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 SseServerParameters
build()
Builds a newSseServerParameters
instance.abstract SseServerParameters.Builder
Sets the headers for the SSE connection request.abstract SseServerParameters.Builder
sseReadTimeout
(Duration sseReadTimeout) Sets the timeout for reading data from the SSE stream.abstract SseServerParameters.Builder
Sets the timeout for the initial connection attempt.abstract SseServerParameters.Builder
Sets 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 newSseServerParameters
instance.
-