01: package vicazh.hyperpool.stream.net.http;
02:
03: /**
04: * The http service
05: *
06: * @author Victor Zhigunov
07: * @version 0.4.0
08: */
09: public class HttpService extends Service {
10: int timeout;
11:
12: /**
13: * @param timeout
14: * socket timeout
15: */
16: public HttpService(int timeout) {
17: this .timeout = timeout;
18: }
19:
20: public Connection getConnection() {
21: return new HttpConnection(this);
22: }
23: }
|