org.apache.manifoldcf.crawler.connectors.webcrawler
Class ThrottledFetcher.ThrottledConnection.ExecuteMethodThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.manifoldcf.crawler.connectors.webcrawler.ThrottledFetcher.ThrottledConnection.ExecuteMethodThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ThrottledFetcher.ThrottledConnection

protected static class ThrottledFetcher.ThrottledConnection.ExecuteMethodThread
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  org.apache.commons.httpclient.HttpClient client
           
protected  java.lang.Throwable exception
           
protected  org.apache.commons.httpclient.HttpMethodBase executeMethod
           
protected  org.apache.commons.httpclient.HostConfiguration hostConfiguration
           
protected  int rval
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ThrottledFetcher.ThrottledConnection.ExecuteMethodThread(org.apache.commons.httpclient.HttpClient client, org.apache.commons.httpclient.HostConfiguration hostConfiguration, org.apache.commons.httpclient.HttpMethodBase executeMethod)
           
 
Method Summary
 java.lang.Throwable getException()
           
 int getResponse()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

client

protected org.apache.commons.httpclient.HttpClient client

hostConfiguration

protected org.apache.commons.httpclient.HostConfiguration hostConfiguration

executeMethod

protected org.apache.commons.httpclient.HttpMethodBase executeMethod

exception

protected java.lang.Throwable exception

rval

protected int rval
Constructor Detail

ThrottledFetcher.ThrottledConnection.ExecuteMethodThread

public ThrottledFetcher.ThrottledConnection.ExecuteMethodThread(org.apache.commons.httpclient.HttpClient client,
                                                                org.apache.commons.httpclient.HostConfiguration hostConfiguration,
                                                                org.apache.commons.httpclient.HttpMethodBase executeMethod)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

getException

public java.lang.Throwable getException()

getResponse

public int getResponse()