Enum UriEncoder

java.lang.Object
java.lang.Enum<UriEncoder>
io.gatling.http.client.uri.UriEncoder
All Implemented Interfaces:
Serializable, Comparable<UriEncoder>

public enum UriEncoder extends Enum<UriEncoder>
  • Enum Constant Details

  • Method Details

    • values

      public static UriEncoder[] 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 UriEncoder 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
    • uriEncoder

      public static UriEncoder uriEncoder(boolean fixUrlEncoding)
    • withQueryWithParams

      protected abstract String withQueryWithParams(String query, List<Param> queryParams)
    • withQueryWithoutParams

      protected abstract String withQueryWithoutParams(String query)
    • withoutQueryWithParams

      protected abstract String withoutQueryWithParams(List<Param> queryParams)
    • encode

      public Uri encode(Uri uri, List<Param> queryParams)
    • encodePath

      protected abstract String encodePath(String path)