Builder

public abstract class Builder

Builder for StreamableHttpTransport.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public abstract StreamableHttpTransport build()
Link copied to clipboard
@CanIgnoreReturnValue()
public StreamableHttpTransport.Builder clearHeaders()
Clears the value of headers field.
Link copied to clipboard
@CanIgnoreReturnValue()
public StreamableHttpTransport.Builder clearSseReadTimeout()
Clears the value of sseReadTimeout field.
Link copied to clipboard
Clears the value of terminateOnClose field.
Link copied to clipboard
@CanIgnoreReturnValue()
public StreamableHttpTransport.Builder clearTimeout()
Clears the value of timeout field.
Link copied to clipboard
@CanIgnoreReturnValue()
public StreamableHttpTransport.Builder clearUrl()
Clears the value of url field.
Link copied to clipboard
Setter for headers.
Link copied to clipboard
public abstract StreamableHttpTransport.Builder sseReadTimeout(Duration sseReadTimeout)
Setter for sseReadTimeout.
Link copied to clipboard
public abstract StreamableHttpTransport.Builder terminateOnClose(boolean terminateOnClose)
Setter for terminateOnClose.
Link copied to clipboard
Setter for timeout.
Link copied to clipboard
Setter for url.