All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.litongjava.tio.http.server.mvc.PathUnitVo Maven / Gradle / Ivy

There is a newer version: 3.7.3.v20241201-RELEASE
Show newest version
package com.litongjava.tio.http.server.mvc;

/**
 * @author tanyaowu
 *
 */
public class PathUnitVo {

	/**
	 * 
	 */
	public PathUnitVo() {
	}

	public PathUnitVo(boolean isVar, String path) {
		super();
		this.isVar = isVar;
		this.path = path;
	}

	public boolean isVar() {
		return isVar;
	}

	public void setVar(boolean isVar) {
		this.isVar = isVar;
	}

	/**
	 * 对于/user/{userid}来说,此值是userid
	 */
	public String getPath() {
		return path;
	}

	/**
	 * 对于/user/{userid}来说,此值是userid
	 */
	public void setPath(String path) {
		this.path = path;
	}

	/**
	 * 是否是变量,true: 是变量
	 */
	private boolean isVar = false;

	/**
	 * 对于/user/{userid}来说,此值是userid
	 */
	private String path = null;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy