[esb-java-dev] svn commit r6141 - in trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport: . tomcat

svn at wso2.org svn at wso2.org
Mon Aug 6 20:24:07 PDT 2007


Author: indika
Date: Mon Aug  6 20:24:02 2007
New Revision: 6141

Modified:
   trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/WebServer.java
   trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/tomcat/ESBServlet.java
   trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/tomcat/RequestRedirectionFilter.java
Log:


Modified: trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/WebServer.java
==============================================================================
--- trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/WebServer.java	(original)
+++ trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/WebServer.java	Mon Aug  6 20:24:02 2007
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2006, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * Licensed 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.wso2.esb.transport;
 
 /**

Modified: trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/tomcat/ESBServlet.java
==============================================================================
--- trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/tomcat/ESBServlet.java	(original)
+++ trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/tomcat/ESBServlet.java	Mon Aug  6 20:24:02 2007
@@ -1,20 +1,17 @@
 /*
- *  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
+ * Copyright (c) 2006, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
  *
- *   http://www.apache.org/licenses/LICENSE-2.0
+ * Licensed 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
  *
- *  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.
+ *      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.wso2.esb.transport.tomcat;
 

Modified: trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/tomcat/RequestRedirectionFilter.java
==============================================================================
--- trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/tomcat/RequestRedirectionFilter.java	(original)
+++ trunk/esb/java/modules/core/src/main/java/org/wso2/esb/transport/tomcat/RequestRedirectionFilter.java	Mon Aug  6 20:24:02 2007
@@ -18,6 +18,22 @@
  */
 package org.wso2.esb.transport.tomcat;
 
+/*
+ * Copyright (c) 2006, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * Licensed 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.
+ */
+
 import org.wso2.esb.ServiceBusManager;
 import org.wso2.utils.NetworkUtils;
 
@@ -46,7 +62,6 @@
         HttpServletResponse httpServletResponse = (HttpServletResponse) response;
 
         initContextRoot(httpServletRequest);
-        System.out.println(httpServletRequest.getRequestURL().toString());
         if (httpServletRequest.getRequestURL().toString()
                 .indexOf(NetworkUtils.getLocalHostname()) == -1) {
             httpServletResponse.sendRedirect("https://" +




More information about the Esb-java-dev mailing list