Home | History | Annotate | Download | only in elonen

Lines Matching defs:GET

42  * <li>Supports parameter parsing of GET and POST methods (+ rudimentary PUT support in 1.25)</li>
263 * @param method "GET", "POST" etc.
325 return this.decodeParameters(parms.get(QUERY_STRING_PARAMETER));
349 parms.get(propertyName).add(propertyValue);
390 GET, PUT, POST, DELETE, HEAD, OPTIONS;
599 return header.get(name);
621 if (header == null || header.get("Date") == null) {
627 String value = header.get(key);
883 // Do NOT assume that a single read will get the entire header at once!
927 method = Method.lookup(pre.get("method"));
932 uri = pre.get("uri");
973 size = Integer.parseInt(headers.get("content-length"));
990 // Get the raw body as a byte []
1002 String contentTypeHeader = headers.get("content-type");
1015 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Content type is multipart/form-data but boundary missing. Usage: GET /example/file.html");
1068 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Syntax error. Usage: GET /example/file.html");
1074 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Missing URI. Usage: GET /example/file.html");
1119 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Content type is multipart/form-data but next chunk does not start with boundary. Usage: GET /example/file.html");
1132 String contentDisposition = item.get("content-disposition");
1134 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Content type is multipart/form-data but no content-disposition info found. Usage: GET /example/file.html");
1145 String pname = disposition.get("name");
1149 if (item.get("content-type") == null) {
1168 value = disposition.get("filename");
1204 if (b.get(i) == boundary[matchcount]) {
1221 ret[i] = matchbytes.get(i);
1265 if (b.get(i) == '\r' && b.get(++i) == '\n' && b.get(++i) == '\r' && b.get(++i) == '\n') {
1376 String raw = httpHeaders.get("cookie");
1399 return cookies.get(name);