com.networknt.handler.config.MethodRewriteRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of handler-config Show documentation
Show all versions of handler-config Show documentation
A config module for handler.
The newest version!
package com.networknt.handler.config;
public class MethodRewriteRule {
String requestPath;
String sourceMethod;
String targetMethod;
public MethodRewriteRule(String requestPath, String sourceMethod, String targetMethod) {
this.requestPath = requestPath;
this.sourceMethod = sourceMethod;
this.targetMethod = targetMethod;
}
public String getRequestPath() {
return requestPath;
}
public void setRequestPath(String requestPath) {
this.requestPath = requestPath;
}
public String getSourceMethod() {
return sourceMethod;
}
public void setSourceMethod(String sourceMethod) {
this.sourceMethod = sourceMethod;
}
public String getTargetMethod() {
return targetMethod;
}
public void setTargetMethod(String targetMethod) {
this.targetMethod = targetMethod;
}
}