Class IgnoredResource
- java.lang.Object
-
- io.apiman.gateway.engine.policies.config.IgnoredResource
-
public class IgnoredResource extends Object
A single ignored resource rule consisting of a verb (GET,POST etc.) and path pattern- Author:
- wtr@redhat.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringVERB_MATCH_ALLUsed to match all possible http verbs.
-
Constructor Summary
Constructors Constructor Description IgnoredResource()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetPathPattern()StringgetVerb()inthashCode()voidsetPathPattern(String pathPattern)voidsetVerb(String verb)
-
-
-
Field Detail
-
VERB_MATCH_ALL
public static final String VERB_MATCH_ALL
Used to match all possible http verbs.- See Also:
- Constant Field Values
-
-
Method Detail
-
getVerb
public String getVerb()
- Returns:
- the verb
-
setVerb
public void setVerb(String verb)
- Parameters:
verb- the verb to set
-
getPathPattern
public String getPathPattern()
- Returns:
- the pathPattern
-
setPathPattern
public void setPathPattern(String pathPattern)
- Parameters:
pathPattern- the pathPattern to set
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classObject- See Also:
Object.equals(java.lang.Object)
-
-