railo.commons.lang
Class ByteNameValuePair
java.lang.Object
railo.commons.lang.ByteNameValuePair
public final class ByteNameValuePair
- extends Object
Name Value Pair
Constructor Summary |
ByteNameValuePair(byte[] name,
byte[] value,
boolean urlEncoded)
constructor of the class |
ByteNameValuePair
public ByteNameValuePair(byte[] name,
byte[] value,
boolean urlEncoded)
- constructor of the class
- Parameters:
name
- value
-
getName
public byte[] getName()
- Returns:
- Returns the name.
getName
public String getName(String encoding)
throws UnsupportedEncodingException
- Parameters:
encoding
-
- Returns:
- Returns the name.
- Throws:
UnsupportedEncodingException
getName
public String getName(String encoding,
String defaultValue)
- Parameters:
encoding
- defaultValue
-
- Returns:
- Returns the name.
setName
public void setName(byte[] name)
- Parameters:
name
- The name to set.
getValue
public byte[] getValue()
- Returns:
- Returns the value.
getValue
public String getValue(String encoding)
throws UnsupportedEncodingException
- Parameters:
encoding
-
- Returns:
- Returns the name.
- Throws:
UnsupportedEncodingException
getValue
public String getValue(String encoding,
String defaultValue)
- Parameters:
encoding
- defaultValue
-
- Returns:
- Returns the name.
setValue
public void setValue(byte[] value)
- Parameters:
value
- The value to set.
isUrlEncoded
public boolean isUrlEncoded()
- Returns:
- the urlEncoded
Copyright © 2012 Railo