Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/sunlabs/brazil/server/Request.java

Issue 10102005: ABP/Android Process chunked requests (Closed)
Patch Set: ABP/Android Process chunked requests Created April 9, 2013, 8:45 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Request.java 2 * Request.java
3 * 3 *
4 * Brazil project web application toolkit, 4 * Brazil project web application toolkit,
5 * export version: 2.3 5 * export version: 2.3
6 * Copyright (c) 1998-2007 Sun Microsystems, Inc. 6 * Copyright (c) 1998-2007 Sun Microsystems, Inc.
7 * 7 *
8 * Sun Public License Notice 8 * Sun Public License Notice
9 * 9 *
10 * The contents of this file are subject to the Sun Public License Version 10 * The contents of this file are subject to the Sun Public License Version
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 /** 461 /**
462 * The server that initiated this request. Only under rare circumstances 462 * The server that initiated this request. Only under rare circumstances
463 * should this be modified. 463 * should this be modified.
464 */ 464 */
465 public Server server; 465 public Server server;
466 /** 466 /**
467 * Our connection to the client. Only under rare circumstances would this 467 * Our connection to the client. Only under rare circumstances would this
468 * need to be modified. 468 * need to be modified.
469 */ 469 */
470 public Socket sock; 470 public Socket sock;
471 protected HttpInputStream in; 471 public HttpInputStream in;
472 472
473 /** 473 /**
474 * A set of properties local to this request. The property is wrapped 474 * A set of properties local to this request. The property is wrapped
475 * in a <code>PropertiesList</code> object and initially is the head 475 * in a <code>PropertiesList</code> object and initially is the head
476 * of a linked list of properties that are searched in order. 476 * of a linked list of properties that are searched in order.
477 * This is useful for handlers that wish to communicate via properties 477 * This is useful for handlers that wish to communicate via properties
478 * to down-stream handlers, such as modifying a server property for a 478 * to down-stream handlers, such as modifying a server property for a
479 * particular request. Some handlers may even add entire new sets of 479 * particular request. Some handlers may even add entire new sets of
480 * properties onto the front of <code>request.props</code> to temporarily 480 * properties onto the front of <code>request.props</code> to temporarily
481 * modify the properties seen by downstream handlers. 481 * modify the properties seen by downstream handlers.
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1773 if (pl != null && pl != props && pl != serverProps) { 1773 if (pl != null && pl != props && pl != serverProps) {
1774 pl.remove(); 1774 pl.remove();
1775 if (server.props.get("debugProps") != null) { 1775 if (server.props.get("debugProps") != null) {
1776 pl.dump(true, "at removeSharedProps"); 1776 pl.dump(true, "at removeSharedProps");
1777 } 1777 }
1778 return true; 1778 return true;
1779 } 1779 }
1780 return false; 1780 return false;
1781 } 1781 }
1782 } 1782 }
OLDNEW

Powered by Google App Engine
This is Rietveld