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

io.leopard.httpnb.Param Maven / Gradle / Ivy

Go to download

Http操作类库。支持Get、Post、文件上传等常用操作。可在TopNB查看耗时统计信息。

The newest version!
package io.leopard.httpnb;

public class Param {

	private String name;
	private Object value;

	private boolean key;

	public Param() {

	}

	public Param(String name, Object value) {
		this(name, value, false);
	}

	public Param(String name, Object value, boolean key) {
		this.name = name;
		this.value = value;
		this.key = key;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public boolean isKey() {
		return key;
	}

	public void setKey(boolean key) {
		this.key = key;
	}

	@Override
	public String toString() {
		return "name:" + name + " value:" + value + " key:" + key;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy