Class Parameter

java.lang.Object
com.github.alexdlaird.http.Parameter

public class Parameter
extends java.lang.Object
A parameter for the HttpClient.
  • Constructor Summary

    Constructors
    Constructor Description
    Parameter​(java.lang.String name, java.lang.String value)
    Construct a parameter.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getName()  
    java.lang.String getValue()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Parameter

      public Parameter​(java.lang.String name, java.lang.String value)
      Construct a parameter.
      Parameters:
      name - Name of the field.
      value - Value of the field.
  • Method Details

    • getName

      public java.lang.String getName()
    • getValue

      public java.lang.String getValue()