class MTGroupChannel extends GroupChannel[MTWorker]
- Annotations
- @Singleton()
- Alphabetic
- By Inheritance
- MTGroupChannel
- GroupChannel
- AbstractController
- BaseController
- BaseControllerHelpers
- ControllerHelpers
- RequestImplicits
- Rendering
- RequestExtractors
- AcceptExtractors
- ContentTypes
- HeaderNames
- Status
- HttpProtocol
- Results
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MTGroupChannel(components: ControllerComponents, publixUtils: PublixUtils, studyAuthorisation: MTStudyAuthorisation)
- Annotations
- @Inject()
Type Members
- class Status extends Result
- Definition Classes
- Results
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
- val ACCEPT: String
- Definition Classes
- HeaderNames
- val ACCEPTED: Int
- Definition Classes
- Status
- val ACCEPT_CHARSET: String
- Definition Classes
- HeaderNames
- val ACCEPT_ENCODING: String
- Definition Classes
- HeaderNames
- val ACCEPT_LANGUAGE: String
- Definition Classes
- HeaderNames
- val ACCEPT_RANGES: String
- Definition Classes
- HeaderNames
- val ACCESS_CONTROL_ALLOW_CREDENTIALS: String
- Definition Classes
- HeaderNames
- val ACCESS_CONTROL_ALLOW_HEADERS: String
- Definition Classes
- HeaderNames
- val ACCESS_CONTROL_ALLOW_METHODS: String
- Definition Classes
- HeaderNames
- val ACCESS_CONTROL_ALLOW_ORIGIN: String
- Definition Classes
- HeaderNames
- val ACCESS_CONTROL_EXPOSE_HEADERS: String
- Definition Classes
- HeaderNames
- val ACCESS_CONTROL_MAX_AGE: String
- Definition Classes
- HeaderNames
- val ACCESS_CONTROL_REQUEST_HEADERS: String
- Definition Classes
- HeaderNames
- val ACCESS_CONTROL_REQUEST_METHOD: String
- Definition Classes
- HeaderNames
- val AGE: String
- Definition Classes
- HeaderNames
- val ALLOW: String
- Definition Classes
- HeaderNames
- val AUTHORIZATION: String
- Definition Classes
- HeaderNames
- val Accepted: Status
- Definition Classes
- Results
- def Action: ActionBuilder[Request, AnyContent]
- Definition Classes
- BaseController
- val BAD_GATEWAY: Int
- Definition Classes
- Status
- val BAD_REQUEST: Int
- Definition Classes
- Status
- val BINARY: String
- Definition Classes
- ContentTypes
- val BadGateway: Status
- Definition Classes
- Results
- val BadRequest: Status
- Definition Classes
- Results
- val CACHE_CONTROL: String
- Definition Classes
- HeaderNames
- val CACHE_MANIFEST: String
- Definition Classes
- ContentTypes
- val CHUNKED: String
- Definition Classes
- HttpProtocol
- val CONFLICT: Int
- Definition Classes
- Status
- val CONNECTION: String
- Definition Classes
- HeaderNames
- val CONTENT_DISPOSITION: String
- Definition Classes
- HeaderNames
- val CONTENT_ENCODING: String
- Definition Classes
- HeaderNames
- val CONTENT_LANGUAGE: String
- Definition Classes
- HeaderNames
- val CONTENT_LENGTH: String
- Definition Classes
- HeaderNames
- val CONTENT_LOCATION: String
- Definition Classes
- HeaderNames
- val CONTENT_MD5: String
- Definition Classes
- HeaderNames
- val CONTENT_RANGE: String
- Definition Classes
- HeaderNames
- val CONTENT_SECURITY_POLICY: String
- Definition Classes
- HeaderNames
- val CONTENT_SECURITY_POLICY_REPORT_ONLY: String
- Definition Classes
- HeaderNames
- val CONTENT_TRANSFER_ENCODING: String
- Definition Classes
- HeaderNames
- val CONTENT_TYPE: String
- Definition Classes
- HeaderNames
- val CONTINUE: Int
- Definition Classes
- Status
- val COOKIE: String
- Definition Classes
- HeaderNames
- val CREATED: Int
- Definition Classes
- Status
- def CSS(implicit codec: Codec): String
- Definition Classes
- ContentTypes
- val Conflict: Status
- Definition Classes
- Results
- val Continue: Result
- Definition Classes
- Results
- val Created: Status
- Definition Classes
- Results
- val DATE: String
- Definition Classes
- HeaderNames
- val ETAG: String
- Definition Classes
- HeaderNames
- def EVENT_STREAM(implicit codec: Codec): String
- Definition Classes
- ContentTypes
- val EXPECT: String
- Definition Classes
- HeaderNames
- val EXPECTATION_FAILED: Int
- Definition Classes
- Status
- val EXPIRES: String
- Definition Classes
- HeaderNames
- val EntityTooLarge: Status
- Definition Classes
- Results
- val ExpectationFailed: Status
- Definition Classes
- Results
- val FAILED_DEPENDENCY: Int
- Definition Classes
- Status
- val FORBIDDEN: Int
- Definition Classes
- Status
- val FORM: String
- Definition Classes
- ContentTypes
- val FORWARDED: String
- Definition Classes
- HeaderNames
- val FOUND: Int
- Definition Classes
- Status
- val FROM: String
- Definition Classes
- HeaderNames
- val FailedDependency: Status
- Definition Classes
- Results
- val Forbidden: Status
- Definition Classes
- Results
- def Found(url: String): Result
- Definition Classes
- Results
- val GATEWAY_TIMEOUT: Int
- Definition Classes
- Status
- val GONE: Int
- Definition Classes
- Status
- val GatewayTimeout: Status
- Definition Classes
- Results
- val Gone: Status
- Definition Classes
- Results
- val HOST: String
- Definition Classes
- HeaderNames
- def HTML(implicit codec: Codec): String
- Definition Classes
- ContentTypes
- val HTTP_1_0: String
- Definition Classes
- HttpProtocol
- val HTTP_1_1: String
- Definition Classes
- HttpProtocol
- val HTTP_VERSION_NOT_SUPPORTED: Int
- Definition Classes
- Status
- val HttpVersionNotSupported: Status
- Definition Classes
- Results
- val IF_MATCH: String
- Definition Classes
- HeaderNames
- val IF_MODIFIED_SINCE: String
- Definition Classes
- HeaderNames
- val IF_NONE_MATCH: String
- Definition Classes
- HeaderNames
- val IF_RANGE: String
- Definition Classes
- HeaderNames
- val IF_UNMODIFIED_SINCE: String
- Definition Classes
- HeaderNames
- val IM_A_TEAPOT: Int
- Definition Classes
- Status
- val INSUFFICIENT_STORAGE: Int
- Definition Classes
- Status
- val INTERNAL_SERVER_ERROR: Int
- Definition Classes
- Status
- val ImATeapot: Status
- Definition Classes
- Results
- val InsufficientStorage: Status
- Definition Classes
- Results
- val InternalServerError: Status
- Definition Classes
- Results
- def JAVASCRIPT(implicit codec: Codec): String
- Definition Classes
- ContentTypes
- val JSON: String
- Definition Classes
- ContentTypes
- val LAST_MODIFIED: String
- Definition Classes
- HeaderNames
- val LENGTH_REQUIRED: Int
- Definition Classes
- Status
- val LINK: String
- Definition Classes
- HeaderNames
- val LOCATION: String
- Definition Classes
- HeaderNames
- val LOCKED: Int
- Definition Classes
- Status
- val Locked: Status
- Definition Classes
- Results
- val MAX_FORWARDS: String
- Definition Classes
- HeaderNames
- val METHOD_NOT_ALLOWED: Int
- Definition Classes
- Status
- val MOVED_PERMANENTLY: Int
- Definition Classes
- Status
- val MULTIPLE_CHOICES: Int
- Definition Classes
- Status
- val MULTI_STATUS: Int
- Definition Classes
- Status
- val MethodNotAllowed: Status
- Definition Classes
- Results
- def MovedPermanently(url: String): Result
- Definition Classes
- Results
- val MultiStatus: Status
- Definition Classes
- Results
- val NETWORK_AUTHENTICATION_REQUIRED: Int
- Definition Classes
- Status
- val NON_AUTHORITATIVE_INFORMATION: Int
- Definition Classes
- Status
- val NOT_ACCEPTABLE: Int
- Definition Classes
- Status
- val NOT_FOUND: Int
- Definition Classes
- Status
- val NOT_IMPLEMENTED: Int
- Definition Classes
- Status
- val NOT_MODIFIED: Int
- Definition Classes
- Status
- val NO_CONTENT: Int
- Definition Classes
- Status
- val NetworkAuthenticationRequired: Status
- Definition Classes
- Results
- val NoContent: Result
- Definition Classes
- Results
- val NonAuthoritativeInformation: Status
- Definition Classes
- Results
- val NotAcceptable: Status
- Definition Classes
- Results
- val NotFound: Status
- Definition Classes
- Results
- val NotImplemented: Status
- Definition Classes
- Results
- val NotModified: Result
- Definition Classes
- Results
- val OK: Int
- Definition Classes
- Status
- val ORIGIN: String
- Definition Classes
- HeaderNames
- val Ok: Status
- Definition Classes
- Results
- val PARTIAL_CONTENT: Int
- Definition Classes
- Status
- val PAYMENT_REQUIRED: Int
- Definition Classes
- Status
- val PERMANENT_REDIRECT: Int
- Definition Classes
- Status
- val PRAGMA: String
- Definition Classes
- HeaderNames
- val PRECONDITION_FAILED: Int
- Definition Classes
- Status
- val PRECONDITION_REQUIRED: Int
- Definition Classes
- Status
- val PROXY_AUTHENTICATE: String
- Definition Classes
- HeaderNames
- val PROXY_AUTHENTICATION_REQUIRED: Int
- Definition Classes
- Status
- val PROXY_AUTHORIZATION: String
- Definition Classes
- HeaderNames
- val PartialContent: Status
- Definition Classes
- Results
- val PaymentRequired: Status
- Definition Classes
- Results
- def PermanentRedirect(url: String): Result
- Definition Classes
- Results
- val PreconditionFailed: Status
- Definition Classes
- Results
- val PreconditionRequired: Status
- Definition Classes
- Results
- val RANGE: String
- Definition Classes
- HeaderNames
- val REFERER: String
- Definition Classes
- HeaderNames
- val REFERRER_POLICY: String
- Definition Classes
- HeaderNames
- val REQUESTED_RANGE_NOT_SATISFIABLE: Int
- Definition Classes
- Status
- val REQUEST_ENTITY_TOO_LARGE: Int
- Definition Classes
- Status
- val REQUEST_HEADER_FIELDS_TOO_LARGE: Int
- Definition Classes
- Status
- val REQUEST_TIMEOUT: Int
- Definition Classes
- Status
- val REQUEST_URI_TOO_LONG: Int
- Definition Classes
- Status
- val RESET_CONTENT: Int
- Definition Classes
- Status
- val RETRY_AFTER: String
- Definition Classes
- HeaderNames
- def Redirect(call: Call, status: Int): Result
- Definition Classes
- Results
- def Redirect(call: Call): Result
- Definition Classes
- Results
- def Redirect(url: String, queryString: Map[String, Seq[String]], status: Int): Result
- Definition Classes
- Results
- def Redirect(url: String, status: Int): Result
- Definition Classes
- Results
- val RequestHeaderFieldsTooLarge: Status
- Definition Classes
- Results
- val RequestTimeout: Status
- Definition Classes
- Results
- val ResetContent: Result
- Definition Classes
- Results
- val SEE_OTHER: Int
- Definition Classes
- Status
- val SERVER: String
- Definition Classes
- HeaderNames
- val SERVICE_UNAVAILABLE: Int
- Definition Classes
- Status
- val SET_COOKIE: String
- Definition Classes
- HeaderNames
- val SET_COOKIE2: String
- Definition Classes
- HeaderNames
- val STRICT_TRANSPORT_SECURITY: String
- Definition Classes
- HeaderNames
- val SWITCHING_PROTOCOLS: Int
- Definition Classes
- Status
- def SeeOther(url: String): Result
- Definition Classes
- Results
- val ServiceUnavailable: Status
- Definition Classes
- Results
- def Status(code: Int): Status
- Definition Classes
- Results
- val SwitchingProtocols: Result
- Definition Classes
- Results
- val TE: String
- Definition Classes
- HeaderNames
- val TEMPORARY_REDIRECT: Int
- Definition Classes
- Status
- def TEXT(implicit codec: Codec): String
- Definition Classes
- ContentTypes
- lazy val TODO: Action[AnyContent]
- Definition Classes
- ControllerHelpers
- val TOO_MANY_REQUESTS: Int
- Definition Classes
- Status
- val TRAILER: String
- Definition Classes
- HeaderNames
- val TRANSFER_ENCODING: String
- Definition Classes
- HeaderNames
- def TemporaryRedirect(url: String): Result
- Definition Classes
- Results
- val TooManyRequests: Status
- Definition Classes
- Results
- val UNAUTHORIZED: Int
- Definition Classes
- Status
- val UNPROCESSABLE_ENTITY: Int
- Definition Classes
- Status
- val UNSUPPORTED_MEDIA_TYPE: Int
- Definition Classes
- Status
- val UPGRADE: String
- Definition Classes
- HeaderNames
- val UPGRADE_REQUIRED: Int
- Definition Classes
- Status
- val USER_AGENT: String
- Definition Classes
- HeaderNames
- val USE_PROXY: Int
- Definition Classes
- Status
- val Unauthorized: Status
- Definition Classes
- Results
- val UnprocessableEntity: Status
- Definition Classes
- Results
- val UnsupportedMediaType: Status
- Definition Classes
- Results
- val UriTooLong: Status
- Definition Classes
- Results
- val VARY: String
- Definition Classes
- HeaderNames
- val VIA: String
- Definition Classes
- HeaderNames
- val WARNING: String
- Definition Classes
- HeaderNames
- val WWW_AUTHENTICATE: String
- Definition Classes
- HeaderNames
- def XHTML(implicit codec: Codec): String
- Definition Classes
- ContentTypes
- def XML(implicit codec: Codec): String
- Definition Classes
- ContentTypes
- val X_CONTENT_SECURITY_POLICY_NONCE_HEADER: String
- Definition Classes
- HeaderNames
- val X_CONTENT_TYPE_OPTIONS: String
- Definition Classes
- HeaderNames
- val X_FORWARDED_FOR: String
- Definition Classes
- HeaderNames
- val X_FORWARDED_HOST: String
- Definition Classes
- HeaderNames
- val X_FORWARDED_PORT: String
- Definition Classes
- HeaderNames
- val X_FORWARDED_PROTO: String
- Definition Classes
- HeaderNames
- val X_FRAME_OPTIONS: String
- Definition Classes
- HeaderNames
- val X_PERMITTED_CROSS_DOMAIN_POLICIES: String
- Definition Classes
- HeaderNames
- val X_REQUESTED_WITH: String
- Definition Classes
- HeaderNames
- val X_XSS_PROTECTION: String
- Definition Classes
- HeaderNames
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def closeGroupChannelAndLeaveGroup(studyResult: StudyResult): Unit
Closes the group channel which includes sending a left message to all group members and leaves the GroupResult.
Closes the group channel which includes sending a left message to all group members and leaves the GroupResult.
- Definition Classes
- GroupChannel
- val controllerComponents: ControllerComponents
- Attributes
- protected
- Definition Classes
- AbstractController → BaseControllerHelpers
- def defaultExecutionContext: ExecutionContext
- Definition Classes
- BaseControllerHelpers
- implicit lazy val defaultFormBinding: FormBinding
- Definition Classes
- BaseControllerHelpers
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def fileMimeTypes: FileMimeTypes
- Definition Classes
- BaseControllerHelpers
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- var groupAdministration: GroupAdministration
- Definition Classes
- GroupChannel
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- var idCookieService: IdCookieService
- Definition Classes
- GroupChannel
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def join(studyResult: StudyResult)(implicit request: RequestHeader): Unit
Joins a group but doesn't open the group channel.
Joins a group but doesn't open the group channel. In case of an error/problem an PublixException is thrown. Synchronized to prevent race conditions with group members joining, leaving, reassigning.
- Definition Classes
- GroupChannel
- Annotations
- @throws(classOf[PublixException])
- def leave(studyResult: StudyResult)(implicit request: Request[_]): Result
Let this study run (specified by the study result ID) leave the group that it joined before.
Let this study run (specified by the study result ID) leave the group that it joined before. Synchronized to prevent race conditions with group members joining, leaving, reassigning.
- Definition Classes
- GroupChannel
- Annotations
- @throws(classOf[PublixException])
- implicit var materializer: Materializer
- Definition Classes
- GroupChannel
- implicit def messagesApi: MessagesApi
- Definition Classes
- BaseControllerHelpers
- 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 open(studyResult: StudyResult): Flow[Any, Nothing, _]
Opens a group channel and returns a Akka stream Flow that will be turned into WebSocket.
Opens a group channel and returns a Akka stream Flow that will be turned into WebSocket. In case of an error/problem an PublixException is thrown.
- Definition Classes
- GroupChannel
- Annotations
- @throws(classOf[PublixException])
- def parse: PlayBodyParsers
- Definition Classes
- BaseControllerHelpers
- def reassign(studyResult: StudyResult)(implicit request: Request[_]): Result
Tries to reassign this study run (specified by study result ID) to a different group.
Tries to reassign this study run (specified by study result ID) to a different group. If the reassignment was successful an Ok is returned. If it was unsuccessful a Forbidden is returned. In case of an error/problem an PublixException is thrown. Synchronized to prevent race conditions with group members joining, leaving, reassigning.
- Definition Classes
- GroupChannel
- Annotations
- @throws(classOf[PublixException])
- implicit def request2flash(implicit request: RequestHeader): Flash
- Definition Classes
- RequestImplicits
- implicit def request2session(implicit request: RequestHeader): Session
- Definition Classes
- RequestImplicits
- implicit def supportedLangs: Langs
- Definition Classes
- BaseControllerHelpers
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit var system: ActorSystem
- Definition Classes
- GroupChannel
- implicit val timeout: Timeout
Time to wait for an answer after asking an Akka actor
Time to wait for an answer after asking an Akka actor
- Definition Classes
- GroupChannel
- 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()
- def withCharset(mimeType: String)(implicit codec: Codec): String
- Definition Classes
- ContentTypes