Class PathConfig

java.lang.Object
com.tenio.core.network.define.data.PathConfig

public final class PathConfig extends Object
Forms a configuration for the HTTP's REST method.
  • Constructor Details

    • PathConfig

      public PathConfig(String name, RestMethod method, String uri, String description, int version)
      Initialization.
      Parameters:
      name - the configuration name
      method - the REST method
      uri - the URI
      description - the description
      version - the current API version
  • Method Details

    • getName

      public String getName()
    • getMethod

      public RestMethod getMethod()
    • getUri

      public String getUri()
    • getDescription

      public String getDescription()
    • getVersion

      public int getVersion()
    • toString

      public String toString()
      Overrides:
      toString in class Object