Class PathParameter


  • public class PathParameter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PathParameter​(@NonNull java.lang.String parameter, @NonNull java.lang.String replacement)
      Creates PathParameter with parameter name and its replacement
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NonNull java.lang.String toString()
      Returns PathParameter in {parameter_name} format
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PathParameter

        public PathParameter​(@NonNull
                             @NonNull java.lang.String parameter,
                             @NonNull
                             @NonNull java.lang.String replacement)
        Creates PathParameter with parameter name and its replacement
        Parameters:
        parameter - Non-null parameter name. Must be without {} symbols
        replacement - Non-null replacement which will replace your path parameter
    • Method Detail

      • toString

        @NonNull
        public @NonNull java.lang.String toString()
        Returns PathParameter in {parameter_name} format
        Overrides:
        toString in class java.lang.Object
        Returns:
        Non-null PathParameter name in {parameter_name} format