# Class StreamableHttpServerParameters.Builder

java.lang.Object
com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder

Enclosing class:
  `StreamableHttpServerParameters`

public static class StreamableHttpServerParameters.Builder extends Object
Builder for `StreamableHttpServerParameters`.

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `StreamableHttpServerParameters`
  `build()`
  `StreamableHttpServerParameters.Builder`
  `headers(Map<String,String> headers)`
  `StreamableHttpServerParameters.Builder`
  `readTimeout(Duration readTimeout)`
  `StreamableHttpServerParameters.Builder`
  `terminateOnClose(boolean terminateOnClose)`
  `StreamableHttpServerParameters.Builder`
  `timeout(Duration timeout)`
  `StreamableHttpServerParameters.Builder`
  `url(String url)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    protected Builder()

- ## Method Details

  - ### url

    @CanIgnoreReturnValue public StreamableHttpServerParameters.Builder url(String url)

  - ### headers

    @CanIgnoreReturnValue public StreamableHttpServerParameters.Builder headers(Map<String,String> headers)

  - ### timeout

    @CanIgnoreReturnValue public StreamableHttpServerParameters.Builder timeout(Duration timeout)

  - ### readTimeout

    @CanIgnoreReturnValue public StreamableHttpServerParameters.Builder readTimeout(Duration readTimeout)

  - ### terminateOnClose

    @CanIgnoreReturnValue public StreamableHttpServerParameters.Builder terminateOnClose(boolean terminateOnClose)

  - ### build

    public StreamableHttpServerParameters build()