public class RequestMatcherDefinition extends Object
Constructor and Description |
---|
RequestMatcherDefinition() |
RequestMatcherDefinition(String type,
String pattern) |
RequestMatcherDefinition(String type,
String pattern,
Collection<String> methods) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getMethods()
Returns the request methods.
|
String |
getPattern()
Returns the request pattern.
|
String |
getType()
Returns the type of request matcher.
|
void |
setMethods(Collection<String> methods)
Sets the request methods.
|
void |
setPattern(String pattern)
Sets the request pattern.
|
void |
setType(String type)
Sets the request matcher type.
|
public RequestMatcherDefinition()
public RequestMatcherDefinition(String type, String pattern, Collection<String> methods)
public String getType()
public void setType(String type)
type
- the new request matcher type.public String getPattern()
public void setPattern(String pattern)
pattern
- the new pattern.public Collection<String> getMethods()
public void setMethods(Collection<String> methods)
methods
- the new request methods.Copyright © 2020 Hitachi Vantara. All rights reserved.