Class ContextMappingRuleHandle
- java.lang.Object
-
- org.apache.shenyu.common.dto.convert.rule.impl.ContextMappingRuleHandle
-
- All Implemented Interfaces:
RuleHandle
public class ContextMappingRuleHandle extends java.lang.Object implements RuleHandle
Context mapping thread handle.
-
-
Constructor Summary
Constructors Constructor Description ContextMappingRuleHandle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetAddPrefix()get addPrefix.booleangetAddPrefixed()get prefix forward status.java.lang.StringgetContextPath()get contextPath.inthashCode()voidsetAddPrefix(java.lang.String addPrefix)set addPrefix.voidsetAddPrefixed(boolean addPrefixed)set prefix forward.voidsetContextPath(java.lang.String contextPath)set contextPath.java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.shenyu.common.dto.convert.rule.RuleHandle
toJson
-
-
-
-
Method Detail
-
getAddPrefixed
public boolean getAddPrefixed()
get prefix forward status.- Returns:
- prefix-forward status
-
setAddPrefixed
public void setAddPrefixed(boolean addPrefixed)
set prefix forward.- Parameters:
addPrefixed- status
-
getContextPath
public java.lang.String getContextPath()
get contextPath.- Returns:
- contextPath
-
setContextPath
public void setContextPath(java.lang.String contextPath)
set contextPath.- Parameters:
contextPath- contextPath
-
getAddPrefix
public java.lang.String getAddPrefix()
get addPrefix.- Returns:
- addPrefix
-
setAddPrefix
public void setAddPrefix(java.lang.String addPrefix)
set addPrefix.- Parameters:
addPrefix- addPrefix
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-