public class Page extends Object implements Serializable
Constructor and Description |
---|
Page() |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(int index,
Parameter vParameter) |
void |
addParameter(Parameter vParameter) |
void |
addSessionVariable(int index,
SessionVariable vSessionVariable) |
void |
addSessionVariable(SessionVariable vSessionVariable) |
void |
deletePort() |
void |
deleteRequireIPv4() |
void |
deleteRequireIPv6() |
Enumeration<Parameter> |
enumerateParameter()
Method enumerateParameter.
|
Enumeration<SessionVariable> |
enumerateSessionVariable()
Method enumerateSessionVariable.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getDisableSslVerification()
Returns the value of field 'disableSslVerification'.
|
String |
getDsName()
Returns the value of field 'dsName'.
|
String |
getFailureMatch()
Returns the value of field 'failureMatch'.
|
String |
getFailureMessage()
Returns the value of field 'failureMessage'.
|
String |
getFragment()
Returns the value of field 'fragment'.
|
String |
getHost()
Returns the value of field 'host'.
|
String |
getHttpVersion()
Returns the value of field 'httpVersion'.
|
String |
getLocationMatch()
Returns the value of field 'locationMatch'.
|
String |
getMethod()
Returns the value of field 'method'.
|
Parameter[] |
getParameter()
Method getParameter.Returns the contents of the collection
in an Array.
|
Parameter |
getParameter(int index)
Method getParameter.
|
List<Parameter> |
getParameterCollection()
Method getParameterCollection.Returns a reference to
'_parameterList'.
|
int |
getParameterCount()
Method getParameterCount.
|
String |
getPath()
Returns the value of field 'path'.
|
int |
getPort()
Returns the value of field 'port'.
|
String |
getQuery()
Returns the value of field 'query'.
|
boolean |
getRequireIPv4()
Returns the value of field 'requireIPv4'.
|
boolean |
getRequireIPv6()
Returns the value of field 'requireIPv6'.
|
String |
getResponseRange()
Returns the value of field 'responseRange'.
|
String |
getScheme()
Returns the value of field 'scheme'.
|
SessionVariable[] |
getSessionVariable()
Method getSessionVariable.Returns the contents of the
collection in an Array.
|
SessionVariable |
getSessionVariable(int index)
Method getSessionVariable.
|
List<SessionVariable> |
getSessionVariableCollection()
Method getSessionVariableCollection.Returns a reference to
'_sessionVariableList'.
|
int |
getSessionVariableCount()
Method getSessionVariableCount.
|
String |
getSuccessMatch()
Returns the value of field 'successMatch'.
|
String |
getUserAgent()
Returns the value of field 'userAgent'.
|
String |
getUserInfo()
Returns the value of field 'userInfo'.
|
String |
getVirtualHost()
Returns the value of field 'virtualHost'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasPort()
Method hasPort.
|
boolean |
hasRequireIPv4()
Method hasRequireIPv4.
|
boolean |
hasRequireIPv6()
Method hasRequireIPv6.
|
boolean |
isRequireIPv4()
Returns the value of field 'requireIPv4'.
|
boolean |
isRequireIPv6()
Returns the value of field 'requireIPv6'.
|
boolean |
isValid()
Method isValid.
|
Iterator<Parameter> |
iterateParameter()
Method iterateParameter.
|
Iterator<SessionVariable> |
iterateSessionVariable()
Method iterateSessionVariable.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllParameter() |
void |
removeAllSessionVariable() |
boolean |
removeParameter(Parameter vParameter)
Method removeParameter.
|
Parameter |
removeParameterAt(int index)
Method removeParameterAt.
|
boolean |
removeSessionVariable(SessionVariable vSessionVariable)
Method removeSessionVariable.
|
SessionVariable |
removeSessionVariableAt(int index)
Method removeSessionVariableAt.
|
void |
setDisableSslVerification(String disableSslVerification)
Sets the value of field 'disableSslVerification'.
|
void |
setDsName(String dsName)
Sets the value of field 'dsName'.
|
void |
setFailureMatch(String failureMatch)
Sets the value of field 'failureMatch'.
|
void |
setFailureMessage(String failureMessage)
Sets the value of field 'failureMessage'.
|
void |
setFragment(String fragment)
Sets the value of field 'fragment'.
|
void |
setHost(String host)
Sets the value of field 'host'.
|
void |
setHttpVersion(String httpVersion)
Sets the value of field 'httpVersion'.
|
void |
setLocationMatch(String locationMatch)
Sets the value of field 'locationMatch'.
|
void |
setMethod(String method)
Sets the value of field 'method'.
|
void |
setParameter(int index,
Parameter vParameter) |
void |
setParameter(List<Parameter> vParameterList)
Sets the value of '_parameterList' by copying the given
Vector.
|
void |
setParameter(Parameter[] vParameterArray) |
void |
setParameterCollection(List<Parameter> parameterList)
Deprecated.
|
void |
setPath(String path)
Sets the value of field 'path'.
|
void |
setPort(int port)
Sets the value of field 'port'.
|
void |
setQuery(String query)
Sets the value of field 'query'.
|
void |
setRequireIPv4(boolean requireIPv4)
Sets the value of field 'requireIPv4'.
|
void |
setRequireIPv6(boolean requireIPv6)
Sets the value of field 'requireIPv6'.
|
void |
setResponseRange(String responseRange)
Sets the value of field 'responseRange'.
|
void |
setScheme(String scheme)
Sets the value of field 'scheme'.
|
void |
setSessionVariable(int index,
SessionVariable vSessionVariable) |
void |
setSessionVariable(List<SessionVariable> vSessionVariableList)
Sets the value of '_sessionVariableList' by copying the
given Vector.
|
void |
setSessionVariable(SessionVariable[] vSessionVariableArray) |
void |
setSessionVariableCollection(List<SessionVariable> sessionVariableList)
Deprecated.
|
void |
setSuccessMatch(String successMatch)
Sets the value of field 'successMatch'.
|
void |
setUserAgent(String userAgent)
Sets the value of field 'userAgent'.
|
void |
setUserInfo(String userInfo)
Sets the value of field 'userInfo'.
|
void |
setVirtualHost(String virtualHost)
Sets the value of field 'virtualHost'.
|
static Page |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addParameter(Parameter vParameter) throws IndexOutOfBoundsException
vParameter
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addParameter(int index, Parameter vParameter) throws IndexOutOfBoundsException
index
- vParameter
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSessionVariable(SessionVariable vSessionVariable) throws IndexOutOfBoundsException
vSessionVariable
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSessionVariable(int index, SessionVariable vSessionVariable) throws IndexOutOfBoundsException
index
- vSessionVariable
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deletePort()
public void deleteRequireIPv4()
public void deleteRequireIPv6()
public Enumeration<Parameter> enumerateParameter()
public Enumeration<SessionVariable> enumerateSessionVariable()
public boolean equals(Object obj)
public String getDisableSslVerification()
public String getDsName()
public String getFailureMatch()
public String getFailureMessage()
public String getFragment()
public String getHost()
public String getHttpVersion()
public String getLocationMatch()
public String getMethod()
public Parameter getParameter(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Parameter[] getParameter()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Parameter> getParameterCollection()
public int getParameterCount()
public String getPath()
public int getPort()
public String getQuery()
public boolean getRequireIPv4()
public boolean getRequireIPv6()
public String getResponseRange()
public String getScheme()
public SessionVariable getSessionVariable(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic SessionVariable[] getSessionVariable()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<SessionVariable> getSessionVariableCollection()
public int getSessionVariableCount()
public String getSuccessMatch()
public String getUserAgent()
public String getUserInfo()
public String getVirtualHost()
public boolean hasPort()
public boolean hasRequireIPv4()
public boolean hasRequireIPv6()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isRequireIPv4()
public boolean isRequireIPv6()
public boolean isValid()
public Iterator<Parameter> iterateParameter()
public Iterator<SessionVariable> iterateSessionVariable()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllParameter()
public void removeAllSessionVariable()
public boolean removeParameter(Parameter vParameter)
vParameter
- public Parameter removeParameterAt(int index)
index
- public boolean removeSessionVariable(SessionVariable vSessionVariable)
vSessionVariable
- public SessionVariable removeSessionVariableAt(int index)
index
- public void setDisableSslVerification(String disableSslVerification)
disableSslVerification
- the value of field
'disableSslVerification'.public void setDsName(String dsName)
dsName
- the value of field 'dsName'.public void setFailureMatch(String failureMatch)
failureMatch
- the value of field 'failureMatch'.public void setFailureMessage(String failureMessage)
failureMessage
- the value of field 'failureMessage'.public void setFragment(String fragment)
fragment
- the value of field 'fragment'.public void setHost(String host)
host
- the value of field 'host'.public void setHttpVersion(String httpVersion)
httpVersion
- the value of field 'httpVersion'.public void setLocationMatch(String locationMatch)
locationMatch
- the value of field 'locationMatch'.public void setMethod(String method)
method
- the value of field 'method'.public void setParameter(int index, Parameter vParameter) throws IndexOutOfBoundsException
index
- vParameter
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setParameter(Parameter[] vParameterArray)
vParameterArray
- public void setParameter(List<Parameter> vParameterList)
vParameterList
- the Vector to copy.public void setParameterCollection(List<Parameter> parameterList)
parameterList
- the Vector to set.public void setPath(String path)
path
- the value of field 'path'.public void setPort(int port)
port
- the value of field 'port'.public void setQuery(String query)
query
- the value of field 'query'.public void setRequireIPv4(boolean requireIPv4)
requireIPv4
- the value of field 'requireIPv4'.public void setRequireIPv6(boolean requireIPv6)
requireIPv6
- the value of field 'requireIPv6'.public void setResponseRange(String responseRange)
responseRange
- the value of field 'responseRange'.public void setScheme(String scheme)
scheme
- the value of field 'scheme'.public void setSessionVariable(int index, SessionVariable vSessionVariable) throws IndexOutOfBoundsException
index
- vSessionVariable
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSessionVariable(SessionVariable[] vSessionVariableArray)
vSessionVariableArray
- public void setSessionVariable(List<SessionVariable> vSessionVariableList)
vSessionVariableList
- the Vector to copy.public void setSessionVariableCollection(List<SessionVariable> sessionVariableList)
sessionVariableList
- the Vector to set.public void setSuccessMatch(String successMatch)
successMatch
- the value of field 'successMatch'.public void setUserAgent(String userAgent)
userAgent
- the value of field 'userAgent'.public void setUserInfo(String userInfo)
userInfo
- the value of field 'userInfo'.public void setVirtualHost(String virtualHost)
virtualHost
- the value of field 'virtualHost'.public static Page unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All Rights Reserved.