public static class OpenSessionResponse.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
OpenSessionResponse |
build() |
OpenSessionResponse.Builder |
withSession(long session)
Sets the response session ID.
|
OpenSessionResponse.Builder |
withTimeout(long timeout)
Sets the session timeout.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitwithError, withErrorpublic OpenSessionResponse.Builder withSession(long session)
session - The session ID.IllegalArgumentException - if session is less than 1public OpenSessionResponse.Builder withTimeout(long timeout)
timeout - The session timeout.public OpenSessionResponse build()
Copyright © 2013–2017. All rights reserved.