Package io.zenwave360.jsonrefparser
Class AuthenticationValue
- java.lang.Object
-
- io.zenwave360.jsonrefparser.AuthenticationValue
-
public class AuthenticationValue extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticationValue.AuthenticationType
-
Constructor Summary
Constructors Constructor Description AuthenticationValue()AuthenticationValue(String key, String value, AuthenticationValue.AuthenticationType type, Predicate<URL> urlMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()AuthenticationValue.AuthenticationTypegetType()Predicate<URL>getUrlMatcher()StringgetValue()voidsetKey(String key)voidsetType(AuthenticationValue.AuthenticationType type)voidsetUrlMatcher(Predicate<URL> urlMatcher)voidsetValue(String value)AuthenticationValuewithHeader(String header)AuthenticationValuewithHeader(String key, String value)AuthenticationValuewithQueryParam(String key, String value)AuthenticationValuewithUrlMatcher(Predicate<URL> urlMatcher)
-
-
-
Constructor Detail
-
AuthenticationValue
public AuthenticationValue()
-
AuthenticationValue
public AuthenticationValue(String key, String value, AuthenticationValue.AuthenticationType type, Predicate<URL> urlMatcher)
-
-
Method Detail
-
withQueryParam
public AuthenticationValue withQueryParam(String key, String value)
-
withHeader
public AuthenticationValue withHeader(String header)
-
withHeader
public AuthenticationValue withHeader(String key, String value)
-
withUrlMatcher
public AuthenticationValue withUrlMatcher(Predicate<URL> urlMatcher)
-
getKey
public String getKey()
-
getValue
public String getValue()
-
getType
public AuthenticationValue.AuthenticationType getType()
-
setKey
public void setKey(String key)
-
setValue
public void setValue(String value)
-
setType
public void setType(AuthenticationValue.AuthenticationType type)
-
-