case class SessionTransaction[Session](id: String, session: Session, connection: HttpConnection, sessionModifiable: Boolean = true, requestModifiable: Boolean = true) extends Product with Serializable
SessionTransaction is used for working with a session in a SessionManager. Modifications can be made to both the session and the request (if requestModifiable is true)
- Session
the type of session
- id
the session's id
- session
the session in this transaction
- connection
the HttpConnection in this transaction
- sessionModifiable
true if the session can be modified (this is disabled outside of a session transaction)
- requestModifiable
true if the request can be modified (this is usually only false when working with sessions in a Connection)
- Alphabetic
- By Inheritance
- SessionTransaction
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SessionTransaction(id: String, session: Session, connection: HttpConnection, sessionModifiable: Boolean = true, requestModifiable: Boolean = true)
- id
the session's id
- session
the session in this transaction
- connection
the HttpConnection in this transaction
- sessionModifiable
true if the session can be modified (this is disabled outside of a session transaction)
- requestModifiable
true if the request can be modified (this is usually only false when working with sessions in a Connection)
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val connection: HttpConnection
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modifyConnection(f: (HttpConnection) ⇒ HttpConnection): SessionTransaction[Session]
- def modifyRequest(f: (HttpResponse) ⇒ HttpResponse): SessionTransaction[Session]
- def modifySession(f: (Session) ⇒ Session): SessionTransaction[Session]
-
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()
- val requestModifiable: Boolean
- val session: Session
- val sessionModifiable: Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()