org.owasp.esapi.waf.internal.Parameter Maven / Gradle / Ivy
/**
* OWASP Enterprise Security API (ESAPI)
*
* This file is part of the Open Web Application Security Project (OWASP)
* Enterprise Security API (ESAPI) project. For details, please see
* http://www.owasp.org/index.php/ESAPI.
*
* Copyright (c) 2009 - The OWASP Foundation
*
* The ESAPI is published by OWASP under the BSD license. You should read and accept the
* LICENSE before you use, modify, and/or redistribute this software.
*
* @author Arshan Dabirsiaghi Aspect Security
* @created 2009
*/
package org.owasp.esapi.waf.internal;
/**
* A simple object to represent a name=value HTTP parameter.
*
* @author Arshan Dabirsiaghi
*
*/
public class Parameter {
private String name;
private String value;
private boolean fromMultipart;
public Parameter(String name, String value, boolean fromMultipart) {
this.name = name;
this.value = value;
this.fromMultipart = fromMultipart;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}