trait ClientSessionManager extends AnyRef
Provider of HTTP sessions
Implementations of this interface are responsible for providing a HTTP session on demand, ready to immediately perform a client request dispatch.
- Note
It is required that the methods on implementations of this interface be thread safe.
- Alphabetic
- By Inheritance
- ClientSessionManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def acquireSession(request: HttpRequest): Future[HttpClientSession]
Acquire a session that is believe to be healthy.
Acquire a session that is believe to be healthy.
This may be a session that has already existed or it may be a new session.
- abstract def close(): Future[Unit]
Close the
SessionManagerand free any resourcesClose the
SessionManagerand free any resourcesThe returned
Futurewill resolve once complete. - abstract def returnSession(session: HttpClientSession): Unit
Return the session to the pool.
Return the session to the pool.
Depending on the state of the session and the nature of the pool, this may either cache the session for future use or close it.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()