- java.lang.Object
-
- com.speedment.common.rest.Param
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.speedment.common.rest.Option
Option.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetKey()The key of this option.Option.TypegetType()What type of option this is.StringgetValue()The value of this option.inthashCode()static Paramparam(String key, String value)Returns a newParamoption.StringtoString()
-
-
-
Method Detail
-
param
public static Param param(String key, String value)
Returns a newParamoption. This method is intended to be imported statically.- Parameters:
key- the keyvalue- the value- Returns:
- the created header
-
getType
public Option.Type getType()
Description copied from interface:OptionWhat type of option this is.- Returns:
- the option type
-
getKey
public final String getKey()
Description copied from interface:OptionThe key of this option.
-
getValue
public final String getValue()
Description copied from interface:OptionThe value of this option.
-
-