com.netflix.config.util
Class HttpVerbUriRegexPropertyValue
java.lang.Object
com.netflix.config.util.HttpVerbUriRegexPropertyValue
public class HttpVerbUriRegexPropertyValue
- extends java.lang.Object
There are a few features in platform and allied libraries which need to parse
a property of the form <uriRegex> OR <HTTP Verb
name><space><uriRegex>. This class provides the functionality
to represent such a property value including static methods to parse such
property values.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpVerbUriRegexPropertyValue
public HttpVerbUriRegexPropertyValue(HttpVerbUriRegexPropertyValue.Verb verb,
java.lang.String uriRegex)
getVerbUriRegex
public static HttpVerbUriRegexPropertyValue getVerbUriRegex(java.lang.String propValue)
- Expects property value to be of the form <uriRegex> OR <HTTP
Verb name><space><uriRegex>
- Parameters:
propValue - property value
- Returns:
HttpVerbUriRegexPropertyValue instance corresponding to
propValue if propValue is not null, null otherwise
getVerb
public HttpVerbUriRegexPropertyValue.Verb getVerb()
getUriRegex
public java.lang.String getUriRegex()
getMethodSeparator
public static java.lang.String getMethodSeparator()