|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.instrument.client.http.AbstractHTTPData
abstract class AbstractHTTPData
Field Summary | |
---|---|
private HTTPInstrumentManagerConnection |
m_connection
|
private java.lang.String |
m_description
|
private int |
m_stateVersion
The current state version of the remote object. |
Constructor Summary | |
---|---|
protected |
AbstractHTTPData(HTTPInstrumentManagerConnection connection,
java.lang.String description)
Creates a new AbstractHTTPData. |
Method Summary | |
---|---|
InstrumentManagerConnection |
getConnection()
Returns the InstrumentManagerConnection that owns the data object. |
java.lang.String |
getDescription()
Returns the description. |
int |
getStateVersion()
Returns the state version. |
protected void |
update(org.apache.avalon.framework.configuration.Configuration configuration)
Update the contents of the object using values from the Configuration object. |
protected java.lang.String |
urlEncode(java.lang.String val)
URL encode the specified string. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.excalibur.instrument.client.Data |
---|
update |
Field Detail |
---|
private HTTPInstrumentManagerConnection m_connection
private java.lang.String m_description
private int m_stateVersion
Constructor Detail |
---|
protected AbstractHTTPData(HTTPInstrumentManagerConnection connection, java.lang.String description)
connection
- The connection used to communicate with the server.description
- An initial description.Method Detail |
---|
public InstrumentManagerConnection getConnection()
public java.lang.String getDescription()
getDescription
in interface Data
public int getStateVersion()
getStateVersion
in interface Data
protected void update(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configuration
- Configuration object to load from.
org.apache.avalon.framework.configuration.ConfigurationException
- If there are any problems.protected java.lang.String urlEncode(java.lang.String val)
val
- String to be URL encoded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |