Interface Client
- All Superinterfaces:
AutoCloseable, Closeable, GroupCloseable, OpennessRequestable, SecurityModeHolder
- All Known Subinterfaces:
BackendClient<C,S>
- All Known Implementing Classes:
AbstractBackendClient, AbstractClient, AbstractWebClient, WebClient
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidinternalSetEndPoint(EndPoint endPoint) booleanbooleanMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosed, noteCloseMethods inherited from interface OpennessRequestable
isOpenMethods inherited from interface SecurityModeHolder
getSecurityMode
-
Method Details
-
getTargetApplicationUrlName
String getTargetApplicationUrlName()- Returns:
- the name of the target application of the current
Clientfor URLs - Throws:
RuntimeException- if the currentClientdoes not have a name of a target application for URLs
-
hasTargetApplicationUrlName
boolean hasTargetApplicationUrlName()- Returns:
- true if the current
Clienthas a name of a target application for URLs, false otherwise
-
internalSetEndPoint
- Parameters:
endPoint-- Throws:
RuntimeException- if the given endPoint is nullRuntimeException- if the currentAbstractClientis already connected
-
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
-