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 class
AuthenticationValue.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 String
getKey()
AuthenticationValue.AuthenticationType
getType()
Predicate<URL>
getUrlMatcher()
String
getValue()
void
setKey(String key)
void
setType(AuthenticationValue.AuthenticationType type)
void
setUrlMatcher(Predicate<URL> urlMatcher)
void
setValue(String value)
AuthenticationValue
withHeader(String header)
AuthenticationValue
withHeader(String key, String value)
AuthenticationValue
withQueryParam(String key, String value)
AuthenticationValue
withUrlMatcher(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)
-
-