final class WsConnectActionBuilder extends RequestActionBuilder[WsConnectActionBuilder, WsConnectRequestBuilder] with WsAwaitActionBuilder[WsConnectActionBuilder, WsConnectRequestBuilder]
DSL for building WebSocket connect actions
Immutable, so all methods return a new occurrence and leave the original unmodified.
- Alphabetic
- By Inheritance
- WsConnectActionBuilder
- WsAwaitActionBuilder
- RequestActionBuilder
- ActionBuilder
- Executable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 asScala(): ActionBuilder
- Definition Classes
- WsConnectActionBuilder → ActionBuilder
- Annotations
- @Override()
- def await(timeout: Function[Session, Duration]): On[WsConnectActionBuilder]
Boostrap a check that waits for a given duration
Boostrap a check that waits for a given duration
- timeout
the wait duration, expressed as a function
- returns
the next DSL step
- Definition Classes
- WsAwaitActionBuilder
- Annotations
- @NonNull()
- def await(timeout: Duration): On[WsConnectActionBuilder]
Boostrap a check that waits for a given duration
Boostrap a check that waits for a given duration
- timeout
the wait duration, expressed as a Gatling Expression Language String
- returns
the next DSL step
- Definition Classes
- WsAwaitActionBuilder
- Annotations
- @NonNull()
- def await(timeout: String): On[WsConnectActionBuilder]
Boostrap a check that waits for a given duration
Boostrap a check that waits for a given duration
- timeout
the static wait duration
- returns
the next DSL step
- Definition Classes
- WsAwaitActionBuilder
- Annotations
- @NonNull()
- def await(timeout: Long): On[WsConnectActionBuilder]
Boostrap a check that waits for a given duration
Boostrap a check that waits for a given duration
- timeout
the static wait duration in seconds
- returns
the next DSL step
- Definition Classes
- WsAwaitActionBuilder
- Annotations
- @NonNull()
- def basicAuth(username: Function[Session, String], password: Function[Session, String]): WsConnectActionBuilder
Set the authorization header for Basic Auth
Set the authorization header for Basic Auth
- username
the username, expressed as a function
- password
the password, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def basicAuth(username: Function[Session, String], password: String): WsConnectActionBuilder
Set the authorization header for Basic Auth
Set the authorization header for Basic Auth
- username
the username, expressed as a function
- password
the password, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def basicAuth(username: String, password: Function[Session, String]): WsConnectActionBuilder
Set the authorization header for Basic Auth
Set the authorization header for Basic Auth
- username
the username, expressed as a Gatling Expression Language String
- password
the password, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def basicAuth(username: String, password: String): WsConnectActionBuilder
Set the authorization header for Basic Auth
Set the authorization header for Basic Auth
- username
the username, expressed as a Gatling Expression Language String
- password
the password, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def digestAuth(username: Function[Session, String], password: Function[Session, String]): WsConnectActionBuilder
Set the authorization header for Digest Auth
Set the authorization header for Digest Auth
- username
the username, expressed as a function
- password
the password, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def digestAuth(username: Function[Session, String], password: String): WsConnectActionBuilder
Set the authorization header for Digest Auth
Set the authorization header for Digest Auth
- username
the username, expressed as a function
- password
the password, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def digestAuth(username: String, password: Function[Session, String]): WsConnectActionBuilder
Set the authorization header for Digest Auth
Set the authorization header for Digest Auth
- username
the username, expressed as a Gatling Expression Language String
- password
the password, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def digestAuth(username: String, password: String): WsConnectActionBuilder
Set the authorization header for Digest Auth
Set the authorization header for Digest Auth
- username
the username, expressed as a Gatling Expression Language String
- password
the password, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def disableUrlEncoding(): WsConnectActionBuilder
Disable the automatic url encoding that tries to detect unescaped reserved chars
Disable the automatic url encoding that tries to detect unescaped reserved chars
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def header(name: CharSequence, value: Function[Session, String]): WsConnectActionBuilder
Set a header
Set a header
- name
the static header name
- value
the header value, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def header(name: CharSequence, value: String): WsConnectActionBuilder
Set a header
Set a header
- name
the static header name
- value
the header value, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def headers(headers: Map[_ <: CharSequence, String]): WsConnectActionBuilder
Set multiple headers
Set multiple headers
- headers
the headers, names are static but values are expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def ignoreProtocolHeaders(): WsConnectActionBuilder
Ignore common headers set in the Http protocol configuration
Ignore common headers set in the Http protocol configuration
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def make(f: Function[WsConnectRequestBuilder, WsConnectRequestBuilder]): WsConnectActionBuilder
- Definition Classes
- WsConnectActionBuilder → WsAwaitActionBuilder → RequestActionBuilder
- Annotations
- @Override()
- def multivaluedQueryParam(name: Function[Session, String], values: Function[Session, List[AnyRef]]): WsConnectActionBuilder
Set a multivalued query parameter
Set a multivalued query parameter
- name
the name of the parameter, expressed as a function
- values
the list of values of the parameter, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def multivaluedQueryParam(name: String, values: Function[Session, List[AnyRef]]): WsConnectActionBuilder
Set a multivalued query parameter
Set a multivalued query parameter
- name
the name of the parameter, expressed as a Gatling Expression Language String
- values
the list of values of the parameter, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def multivaluedQueryParam(name: Function[Session, String], values: String): WsConnectActionBuilder
Set a multivalued query parameter
Set a multivalued query parameter
- name
the name of the parameter, expressed as a function
- values
the list of values of the parameter, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def multivaluedQueryParam(name: String, values: String): WsConnectActionBuilder
Set a multivalued query parameter
Set a multivalued query parameter
- name
the name of the parameter, expressed as a Gatling Expression Language String
- values
the list of values of the parameter, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def multivaluedQueryParam(name: Function[Session, String], values: List[AnyRef]): WsConnectActionBuilder
Set a multivalued query parameter
Set a multivalued query parameter
- name
the name of the parameter, expressed as a function
- values
the static list of values of the parameter
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def multivaluedQueryParam(name: String, values: List[AnyRef]): WsConnectActionBuilder
Set a multivalued query parameter
Set a multivalued query parameter
- name
the name of the parameter, expressed as a Gatling Expression Language String
- values
the static list of values of the parameter
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- 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()
- def onConnected(chain: ChainBuilder): WsConnectActionBuilder
Define a chain to execute when the WebSocket gets connected or re-connected
Define a chain to execute when the WebSocket gets connected or re-connected
- chain
the chain
- returns
a new WsConnectActionBuilder instance
- Annotations
- @NonNull()
- def proxy(proxy: Proxy): WsConnectActionBuilder
Define a Proxy to be used for this request
Define a Proxy to be used for this request
- proxy
the proxy
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParam(name: Function[Session, String], value: Function[Session, AnyRef]): WsConnectActionBuilder
Set some query parameter
Set some query parameter
- name
the name of the parameter, expressed as a function
- value
the value of the parameter, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParam(name: String, value: Function[Session, AnyRef]): WsConnectActionBuilder
Set some query parameter
Set some query parameter
- name
the name of the parameter, expressed as a Gatling Expression Language String
- value
the value of the parameter, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParam(name: Function[Session, String], value: AnyRef): WsConnectActionBuilder
Set some query parameter
Set some query parameter
- name
the name of the parameter, expressed as a function
- value
the static value of the parameter
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParam(name: String, value: AnyRef): WsConnectActionBuilder
Set some query parameter
Set some query parameter
- name
the name of the parameter, expressed as a Gatling Expression Language String
- value
the static value of the parameter
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParam(name: Function[Session, String], value: String): WsConnectActionBuilder
Set some query parameter
Set some query parameter
- name
the name of the parameter, expressed as a function
- value
the value of the parameter, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParam(name: String, value: String): WsConnectActionBuilder
Set some query parameter
Set some query parameter
- name
the name of the parameter, expressed as a Gatling Expression Language String
- value
the value of the parameter, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParamMap(map: Function[Session, Map[String, AnyRef]]): WsConnectActionBuilder
Set multiple query params
Set multiple query params
- map
a Map of query params, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParamMap(map: String): WsConnectActionBuilder
Set multiple query params
Set multiple query params
- map
a Map of query params, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParamMap(map: Map[String, AnyRef]): WsConnectActionBuilder
Set multiple query params
Set multiple query params
- map
a static Map of query params
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParamSeq(seq: Function[Session, List[Entry[String, AnyRef]]]): WsConnectActionBuilder
Set multiple query params
Set multiple query params
- seq
a List of query params, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParamSeq(seq: String): WsConnectActionBuilder
Set multiple query params
Set multiple query params
- seq
a List of query params, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def queryParamSeq(seq: List[Entry[String, AnyRef]]): WsConnectActionBuilder
Set multiple query params
Set multiple query params
- seq
a static List of query params
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def sign(calculator: BiFunction[Request, Session, Request]): WsConnectActionBuilder
Provide a function to sign the requests before writing them on the wire.
Provide a function to sign the requests before writing them on the wire. This version provides access to the session.
- calculator
the signing function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def sign(calculator: Function[Request, Request]): WsConnectActionBuilder
Provide a function to sign the requests before writing them on the wire
Provide a function to sign the requests before writing them on the wire
- calculator
the signing function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def signWithOAuth1(consumerKey: Function[Session, String], clientSharedSecret: Function[Session, String], token: Function[Session, String], tokenSecret: Function[Session, String]): WsConnectActionBuilder
Instruct sign the request with OAuth1 before writing it on the wire
Instruct sign the request with OAuth1 before writing it on the wire
- consumerKey
the consumerKey, expressed as a function
- clientSharedSecret
the clientSharedSecret, expressed as a function
- token
the token, expressed as a function
- tokenSecret
the tokenSecret, expressed as a function
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def signWithOAuth1(consumerKey: String, clientSharedSecret: String, token: String, tokenSecret: String): WsConnectActionBuilder
Instruct sign the request with OAuth1 before writing it on the wire
Instruct sign the request with OAuth1 before writing it on the wire
- consumerKey
the consumerKey, expressed as a Gatling Expression Language String
- clientSharedSecret
the clientSharedSecret, expressed as a Gatling Expression Language String
- token
the token, expressed as a Gatling Expression Language String
- tokenSecret
the tokenSecret, expressed as a Gatling Expression Language String
- returns
a new DSL instance
- Definition Classes
- RequestActionBuilder
- Annotations
- @NonNull()
- def subprotocol(sub: Function[Session, String]): WsConnectActionBuilder
Define a WebSocket subprotocol
Define a WebSocket subprotocol
- sub
the subprotocol, expressed as a function
- returns
a new WsConnectActionBuilder instance
- Annotations
- @NonNull()
- def subprotocol(sub: String): WsConnectActionBuilder
Define a WebSocket subprotocol
Define a WebSocket subprotocol
- sub
the subprotocol, expressed as a Gatling Expression Language String
- returns
a new WsConnectActionBuilder instance
- Annotations
- @NonNull()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toChainBuilder(): ChainBuilder
- Definition Classes
- ActionBuilder → Executable
- 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()