Interface RemoteContext
- All Known Implementing Classes:
NullRemoteContext, RemoteContextImpl
Deprecated.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.@Nullable StringDeprecated.@Nullable StringDeprecated.@Nullable StringDeprecated.voidDeprecated.Call action in all sessions.voidwithCurrentBrowser(String actionName, @Nullable Object... params) Deprecated.Call action only in current browser (not in all sessions of the current user).voidwithCurrentUser(String actionName, @Nullable Object... params) Deprecated.Call action in all sessions of the current user.voidwithScriptSession(String scriptSessionId, String actionName, @Nullable Object... params) Deprecated.Call action in script session with the given id.voidDeprecated.Call action in all sessions of the given user.
-
Method Details
-
getHttpSessionId
@Nullable String getHttpSessionId()Deprecated. -
getUserName
@Nullable String getUserName()Deprecated. -
getScriptSessionId
@Nullable String getScriptSessionId()Deprecated. -
currentThreadIsWebThread
boolean currentThreadIsWebThread()Deprecated. -
withCurrentBrowser
Deprecated.Call action only in current browser (not in all sessions of the current user).Note: This method is not available in Non-Web threads.
- Parameters:
actionName- The action in the client to call.params- Params to pass to the action.
-
withCurrentUser
-
withUser
-
withScriptSession
Deprecated.Call action in script session with the given id.- Parameters:
scriptSessionId- The id of the script session to call.actionName- The action in the client to call.params- Params to pass to the action.
-
withAll
-