Author: mattmann
Date: Thu Aug 27 02:33:35 2015
New Revision: 1698047

URL: http://svn.apache.org/r1698047
Log:
OODT-302 Add support in the xmlquery package to handle HTTP Redirection 
(Michael Cayanan via mattmann)

Added:
    
oodt/trunk/xmlquery/src/main/java/org/apache/oodt/product/HttpRedirectException.java

Added: 
oodt/trunk/xmlquery/src/main/java/org/apache/oodt/product/HttpRedirectException.java
URL: 
http://svn.apache.org/viewvc/oodt/trunk/xmlquery/src/main/java/org/apache/oodt/product/HttpRedirectException.java?rev=1698047&view=auto
==============================================================================
--- 
oodt/trunk/xmlquery/src/main/java/org/apache/oodt/product/HttpRedirectException.java
 (added)
+++ 
oodt/trunk/xmlquery/src/main/java/org/apache/oodt/product/HttpRedirectException.java
 Thu Aug 27 02:33:35 2015
@@ -0,0 +1,40 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.oodt.product;
+
+import org.apache.oodt.product.ProductException;
+
+/**
+ * A class 
+ * 
+ * @author mcayanan
+ *
+ */
+public class HttpRedirectException extends ProductException {
+  private static final long serialVersionUID = 4680689951141346403L;
+  private String location;
+
+  public HttpRedirectException(String location) {
+    super();
+    this.location = location;
+  }
+
+  public String getLocation() {
+    return location;
+  }
+}


Reply via email to