Interface Client

All Superinterfaces:
AutoCloseable, Closeable, GroupCloseable, OpennessRequestable, SecurityModeHolder
All Known Subinterfaces:
BackendClient<C,S>
All Known Implementing Classes:
AbstractBackendClient, AbstractClient, AbstractWebClient, WebClient

public interface Client extends GroupCloseable, SecurityModeHolder
Author:
Silvan Wyss
  • Method Details

    • getTargetApplicationUrlName

      String getTargetApplicationUrlName()
      Returns:
      the name of the target application of the current Client for URLs
      Throws:
      RuntimeException - if the current Client does not have a name of a target application for URLs
    • hasTargetApplicationUrlName

      boolean hasTargetApplicationUrlName()
      Returns:
      true if the current Client has a name of a target application for URLs, false otherwise
    • internalSetEndPoint

      void internalSetEndPoint(EndPoint endPoint)
      Sets the EndPoint of the current Client.
      Parameters:
      endPoint -
      Throws:
      RuntimeException - if the given endPoint is null
      RuntimeException - if the current AbstractClient is already connected
    • isBackendClient

      boolean isBackendClient()
      Returns:
      true if the current Client is a back-end client, false otherwise
    • isFrontendClient

      boolean isFrontendClient()
      Returns:
      true if the current Client is a front-end client, false otherwise