01: package vicazh.hyperpool.stream.net.http;
02:
03: import java.io.*;
04: import vicazh.hyperpool.Start;
05:
06: class ResetRouteStream extends ClientStream {
07: ResetRouteStream(Session session, OutputStream outputstream) {
08: super (session, outputstream);
09: }
10:
11: public void header() throws IOException {
12: super .header();
13: session.getServer().head(getVersion(), ServerStream.OK,
14: "Connection established");
15: session.getServer().field("Proxy-agent",
16: Start.NAME + "/" + Start.VERSION);
17: session.getServer().header();
18: session.getServer().flush();
19: }
20:
21: protected void line(String s) throws IOException {
22: }
23:
24: }
|