01: package vicazh.hyperpool.stream.net.http;
02:
03: import java.util.*;
04: import vicazh.hyperpool.stream.Connection;
05:
06: /**
07: * The resource sender
08: *
09: * @author Victor Zhigunov
10: * @version 0.4.0
11: */
12: public class ResourceService extends Service {
13: public ResourceService() {
14: }
15:
16: Map<Object, String> map;
17:
18: /**
19: * @param map
20: * map types
21: */
22: public ResourceService(Map<Object, String> map) {
23: this .map = map;
24: }
25:
26: public Connection getConnection() {
27: return new ResourceConnection(this);
28: }
29: }
|