Parent Directory | Revision Log | Patch
revision 1.1 by benja, Sat Apr 19 12:20:29 2003 UTC | revision 1.2 by benja, Tue May 27 02:56:21 2003 UTC | |
---|---|---|
# | Line 86 public class HTTPRequest extends HTTPRec | Line 86 public class HTTPRequest extends HTTPRec |
86 | return theHTTPVersion; | return theHTTPVersion; |
87 | } | } |
88 | ||
89 | public String toString() { | |
90 | return "HTTPRequest("+startLine+")"; | |
91 | } | |
92 | ||
93 | private String method; | private String method; |
94 | private String reqURI; | private String reqURI; |
95 | private String theHTTPVersion; | private String theHTTPVersion; |
# | Line 104 public class HTTPRequest extends HTTPRec | Line 108 public class HTTPRequest extends HTTPRec |
108 | reqURI = line.substring(sp1 + 1, sp2); | reqURI = line.substring(sp1 + 1, sp2); |
109 | theHTTPVersion = line.substring(sp2 + 1); | theHTTPVersion = line.substring(sp2 + 1); |
110 | } | } |
111 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |