From: <bra...@us...> - 2007-07-19 21:36:13
|
Revision: 1809 http://archive-access.svn.sourceforge.net/archive-access/?rev=1809&view=rev Author: bradtofel Date: 2007-07-19 13:38:24 -0700 (Thu, 19 Jul 2007) Log Message: ----------- FEATURE: now WaybackRequest holds a reference to the WaybackContext that handled it. Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/core/WaybackRequest.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/core/WaybackRequest.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/core/WaybackRequest.java 2007-07-19 20:36:58 UTC (rev 1808) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/core/WaybackRequest.java 2007-07-19 20:38:24 UTC (rev 1809) @@ -39,6 +39,7 @@ import org.archive.wayback.exception.BetterRequestException; import org.archive.wayback.query.OpenSearchQueryParser; import org.archive.wayback.util.StringFormatter; +import org.archive.wayback.webapp.WaybackContext; /** * Abstraction of all the data associated with a users request to the Wayback @@ -57,6 +58,7 @@ private String serverPrefix = null; private String betterRequestURI = null; + private WaybackContext context = null; private Properties filters = new Properties(); @@ -401,4 +403,18 @@ } return wbRequest; } + + /** + * @return the context + */ + public WaybackContext getContext() { + return context; + } + + /** + * @param context the context to set + */ + public void setContext(WaybackContext context) { + this.context = context; + } } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |