cq.web.servlet.bean.WebNode Maven / Gradle / Ivy
The newest version!
package cq.web.servlet.bean;
import java.lang.reflect.Method;
import cq.web.servlet.constant.RequestType;
public class WebNode {
private Object object;
private Method method;
private RequestType type;
private boolean allowOrigin;
private boolean isUpload;
private boolean isResponse;
public WebNode(Object object, Method method, RequestType type, boolean isUpload, boolean isResponse, boolean allowOrigin) {
this.object = object;
this.method = method;
this.type = type;
this.isUpload = isUpload;
this.isResponse = isResponse;
this.allowOrigin = allowOrigin;
}
public Object getObject() {
return object;
}
public boolean isResponse() {
return isResponse;
}
public Method getMethod() {
return method;
}
public RequestType getType() {
return type;
}
public boolean isUpload() {
return isUpload;
}
public boolean isAllowOrigin() {
return allowOrigin;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy