de.janrufmonitor.repository.web
Class AbstractURLRequester

java.lang.Object
  extended by de.janrufmonitor.repository.web.AbstractURLRequester
Direct Known Subclasses:
RegExpURLRequester

public abstract class AbstractURLRequester
extends Object

This abstract call must be used to implement the HTTP call to the web caller manager.

Author:
Thilo Brandt

Field Summary
protected  IAttributeMap m
           
protected  Logger m_logger
           
protected  long m_skip
           
protected  IPhonenumber pn
           
protected  String url
           
 
Constructor Summary
AbstractURLRequester(String url, long skip)
           
 
Method Summary
 IAttributeMap getAttributes()
           
 IPhonenumber getPhonenumber()
           
 long getTimeout()
           
abstract  void go()
          Requests the HTTP server and parses the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

protected String url

m_skip

protected long m_skip

m

protected IAttributeMap m

pn

protected IPhonenumber pn

m_logger

protected Logger m_logger
Constructor Detail

AbstractURLRequester

public AbstractURLRequester(String url,
                            long skip)
Method Detail

go

public abstract void go()
                 throws Exception
Requests the HTTP server and parses the result. The result is stored in an IAttributeMap and in an IPhonenumber object.

Throws:
Exception

getAttributes

public IAttributeMap getAttributes()

getPhonenumber

public IPhonenumber getPhonenumber()

getTimeout

public long getTimeout()


Copyright © 2010 by Thilo Brandt. All Rights Reserved.