Package de.alexanderwodarz.code.web.rest
Class RestHandler
java.lang.Object
java.lang.Thread
de.alexanderwodarz.code.web.rest.RestHandler
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiderror(int statusCode, String body, Exception e, RequestData data, BufferedOutputStream dataOut, PrintWriter out) voiderror(int statusCode, String body, Exception e, RequestData data, BufferedOutputStream dataOut, PrintWriter out, boolean showError) findRequest(RequestData data) voidrun()trigger(RestWebRequest req, RequestData data) Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
RestHandler
-
-
Method Details
-
run
public void run() -
error
public void error(int statusCode, String body, Exception e, RequestData data, BufferedOutputStream dataOut, PrintWriter out) -
error
public void error(int statusCode, String body, Exception e, RequestData data, BufferedOutputStream dataOut, PrintWriter out, boolean showError) -
trigger
-
findRequest
-
testPath
-