forked from I2P_Developers/i2p.i2p
upnp first cut
This commit is contained in:
61
router/java/src/org/cybergarage/http/Parameter.java
Normal file
61
router/java/src/org/cybergarage/http/Parameter.java
Normal file
@ -0,0 +1,61 @@
|
||||
/******************************************************************
|
||||
*
|
||||
* CyberHTTP for Java
|
||||
*
|
||||
* Copyright (C) Satoshi Konno 2002-2004
|
||||
*
|
||||
* File: Parameter.java
|
||||
*
|
||||
* Revision;
|
||||
*
|
||||
* 02/01/04
|
||||
* - first revision.
|
||||
*
|
||||
******************************************************************/
|
||||
|
||||
package org.cybergarage.http;
|
||||
|
||||
public class Parameter
|
||||
{
|
||||
private String name = new String();
|
||||
private String value = new String();
|
||||
|
||||
public Parameter()
|
||||
{
|
||||
}
|
||||
|
||||
public Parameter(String name, String value)
|
||||
{
|
||||
setName(name);
|
||||
setValue(value);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////
|
||||
// name
|
||||
////////////////////////////////////////////////
|
||||
|
||||
public void setName(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////
|
||||
// value
|
||||
////////////////////////////////////////////////
|
||||
|
||||
public void setValue(String value)
|
||||
{
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getValue()
|
||||
{
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user