From 6025b6016517c6d898d8957d1d7e03ba71431912 Mon Sep 17 00:00:00 2001 From: tknall Date: Fri, 1 Dec 2006 12:20:24 +0000 Subject: Initial import of release 2.2. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@4 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../knowcenter/wag/egov/egiz/web/LocalRequest.java | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequest.java (limited to 'src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequest.java') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequest.java b/src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequest.java new file mode 100644 index 0000000..d3c24a7 --- /dev/null +++ b/src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequest.java @@ -0,0 +1,80 @@ +/** + * Copyright (c) 2006 by Know-Center, Graz, Austria + * + * This software is the confidential and proprietary information of Know-Center, + * Graz, Austria. You shall not disclose such Confidential Information and shall + * use it only in accordance with the terms of the license agreement you entered + * into with Know-Center. + * + * KNOW-CENTER MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF + * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR + * NON-INFRINGEMENT. KNOW-CENTER SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY + * LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS + * DERIVATIVES. + * + * $Id: LocalRequest.java,v 1.2 2006/08/25 17:06:11 wprinz Exp $ + */ +package at.knowcenter.wag.egov.egiz.web; + +import java.io.Serializable; + +/** + * Encapsulates a local request, basicall an URL where the local request is sent + * to and a request string. + * + * @author wprinz + */ +public class LocalRequest implements Serializable +{ + + /** + * SVUID. + */ + private static final long serialVersionUID = -3734904043231861998L; + + /** + * The URL the local request sould be directed at. + */ + protected String url_; + + /** + * The request string to be sent to that URL. + */ + protected String request_string_; + + /** + * Constructor that initializes the URL and request string. + * + * @param url + * The URL the local request sould be directed at. + * @param request_string + * The request string to be sent to that URL. + */ + public LocalRequest(String url, String request_string) + { + this.url_ = url; + this.request_string_ = request_string; + } + + /** + * Returns the URL. + * + * @return Returns the URL. + */ + public String getUrl() + { + return url_; + } + + /** + * Returns the request string. + * + * @return Returns the request string. + */ + public String getRequestString() + { + return request_string_; + } + +} -- cgit v1.2.3