Enum EHttpClient

java.lang.Object
java.lang.Enum<EHttpClient>
de.xima.fc.mdl.enums.EHttpClient
All Implemented Interfaces:
Serializable, Comparable<EHttpClient>

public enum EHttpClient extends Enum<EHttpClient>
Pre-defined HttpClients for executing HTTP requests.
Author:
XIMA MEDIA GmbH
  • Enum Constant Details

    • NATIVE

      public static final EHttpClient NATIVE
      Uses the native Java API to execute HTTP requests.
    • WEBSOCKET_SYNC

      public static final EHttpClient WEBSOCKET_SYNC
      Uses web sockets to send the JavaScript to the client and the response back to the server, synchronously.
    • WEBSOCKET_ASYNC

      public static final EHttpClient WEBSOCKET_ASYNC
      Uses web sockets to send the JavaScript to the client and the response back to the server, asynchronously.
  • Method Details

    • values

      public static EHttpClient[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EHttpClient valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null