java.lang.Runnable
public class NamedGraphServerHttpProxy
extends java.lang.Thread
NamedGraphServer
to generate fake HTML pages contaning only links.Modifier and Type | Class | Description |
---|---|---|
static class |
NamedGraphServerHttpProxy.CapriciousPrintWriter |
Like a standard print writer, but it sleeps a random amount of time before printing each string (only the
methods
NamedGraphServerHttpProxy.CapriciousPrintWriter.println(String) , NamedGraphServerHttpProxy.CapriciousPrintWriter.print(String) and NamedGraphServerHttpProxy.CapriciousPrintWriter.println() are affected). |
Constructor | Description |
---|---|
NamedGraphServerHttpProxy() |
Modifier and Type | Method | Description |
---|---|---|
static int |
estimateLength(java.lang.CharSequence[] successors) |
Estimates the length of the page generated by a given array of successors.
|
static void |
generate(long hashCode,
java.lang.StringBuilder content,
java.lang.CharSequence[] successors,
boolean notescurl) |
|
static void |
main(java.lang.String[] arg) |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public static void generate(long hashCode, java.lang.StringBuilder content, java.lang.CharSequence[] successors, boolean notescurl)
public static final int estimateLength(java.lang.CharSequence[] successors)
successors
- the array of successors, or null
.public static void main(java.lang.String[] arg) throws java.io.IOException, JSAPException, java.lang.ClassNotFoundException
java.io.IOException
JSAPException
java.lang.ClassNotFoundException