Dolda2000 GitWeb
/
jsvc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initially working J2EE container.
[jsvc.git]
/
src
/
dolda
/
jsvc
/
RequestThread.java
1
package dolda.jsvc;
2
3
public class RequestThread extends Thread {
4
private Request req;
5
private Responder resp;
6
7
public RequestThread(Responder resp, Request req, ThreadGroup th, String name) {
8
super(th, name);
9
this.resp = resp;
10
this.req = req;
11
}
12
13
public void run() {
14
resp.respond(req);
15
}
16
17
public static Request request() {
18
return(((RequestThread)Thread.currentThread()).req);
19
}
20
}