public boolean parseRequestLine(String lineStr) { StringTokenizer st = new StringTokenizer(lineStr, HTTP.REQEST_LINE_DELIM); if (st.hasMoreTokens() == false) return false; setMethod(st.nextToken()); if (st.hasMoreTokens() == false) return false; setURI(st.nextToken()); if (st.hasMoreTokens() == false) return false; setVersion(st.nextToken()); return true; }
public void setURI(String value) { setURI(value, false); }