01: package vicazh.hyperpool.stream.net.http.html;
02:
03: import vicazh.hyperpool.stream.*;
04: import vicazh.hyperpool.stream.net.http.Session;
05:
06: /**
07: * This class is the superclass of all html connections
08: *
09: * @author Victor Zhigunov
10: * @version 0.4.0
11: */
12: public class Connection extends
13: vicazh.hyperpool.stream.net.http.Connection {
14: public Connection() {
15: }
16:
17: /**
18: * @param element
19: * parent element
20: */
21: public Connection(Element element) {
22: super (element);
23: }
24:
25: protected Session getSession() {
26: return new Session(this);
27: }
28: }
|