Interface Client
- All Superinterfaces:
AutoCloseable, Closeable, GroupCloseable, OpennessRequestable, SecurityModeHolder
- All Known Subinterfaces:
BackendClient<S>
- All Known Implementing Classes:
AbstractBackendClient, AbstractClient, AbstractFrontendClient, AbstractWebClient, WebClient
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosed, noteCloseMethods inherited from interface OpennessRequestable
isOpenMethods inherited from interface SecurityModeHolder
getSecurityMode
-
Method Details
-
getUrlInstanceNameOfTargetApplication
String getUrlInstanceNameOfTargetApplication()- Returns:
- the URL instance name of the target application of the current
Client - Throws:
RuntimeException- if the currentClientdoes not know the URL instance name of its target application.
-
hasRequestedConnection
boolean hasRequestedConnection()- Returns:
- true if the current
Clienthas requested the connection, false otherwise
-
isBackendClient
boolean isBackendClient()- Returns:
- true if the current
Clientis a back-end client, false otherwise
-
isFrontendClient
boolean isFrontendClient()- Returns:
- true if the current
Clientis a front-end client, false otherwise
-
hasUrlInstanceNameOfTargetApplication
boolean hasUrlInstanceNameOfTargetApplication()- Returns:
- true if the current
Clienthas the URL instance name of its target application, false otherwise
-