org.polliwog.fields
Class RequestHeaderField
java.lang.Object
org.polliwog.fields.AbstractField
org.polliwog.fields.RequestHeaderField
public class RequestHeaderField
- extends AbstractField
Field Summary |
static int |
FIELD_ID
This is a unique constant for this field, it MUST NOT clash with any other field
constant value otherwise incorrect casting may result. |
static java.lang.String |
REFERER
|
static java.lang.String |
TYPE
|
static java.lang.String |
USER_AGENT
|
Method Summary |
void |
clear()
Clear the data that the field holds. |
int |
getFieldId()
Should return a unique id for this field, this is to help with classes (such as: Hit )
that use this id to help in identification. |
java.lang.String |
getType()
|
java.lang.String |
getValue()
|
void |
init(java.util.Map params,
java.lang.String value)
The init method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIELD_ID
public static final int FIELD_ID
- This is a unique constant for this field, it MUST NOT clash with any other field
constant value otherwise incorrect casting may result.
- See Also:
- Constant Field Values
REFERER
public static final java.lang.String REFERER
- See Also:
- Constant Field Values
USER_AGENT
public static final java.lang.String USER_AGENT
- See Also:
- Constant Field Values
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
RequestHeaderField
public RequestHeaderField()
clear
public void clear()
- Description copied from class:
AbstractField
- Clear the data that the field holds.
- Specified by:
clear
in class AbstractField
getValue
public java.lang.String getValue()
getType
public java.lang.String getType()
init
public void init(java.util.Map params,
java.lang.String value)
throws WeblogException
- Description copied from class:
AbstractField
- The init method.
- Specified by:
init
in class AbstractField
- Parameters:
params
- A Map of name/value pairs that are used to init the field.value
- The value of the field.
- Throws:
WeblogException
- Throw if something is wrong with the value.
getFieldId
public int getFieldId()
- Description copied from class:
AbstractField
- Should return a unique id for this field, this is to help with classes (such as:
Hit
)
that use this id to help in identification.
- Specified by:
getFieldId
in class AbstractField
- Returns:
- A unique id.
Copyright © 2007 Gary Bentley. All Rights Reserved.