Class PathParameter


  • public class PathParameter
    extends java.lang.Object
    Represents path parameter which will be replaced in your request
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PathParameter of​(@NotNull java.lang.String id, @NonNull java.lang.String replacement)
      Creates PathParameter with parameter name and its replacement
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • of

        public static PathParameter of​(@NotNull
                                       @NotNull java.lang.String id,
                                       @NonNull
                                       @NonNull java.lang.String replacement)
        Creates PathParameter with parameter name and its replacement
        Parameters:
        id - Non-null parameter name. Must be without {} symbols
        replacement - Non-null replacement which will replace your path parameter
        Returns:
        Non-null PathParameter instance