[jbossws-commits] JBossWS SVN: r7335 - framework/trunk/src/main/java/org/jboss/wsf/framework/transport.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Wed Jun 4 09:05:13 EDT 2008
Author: heiko.braun at jboss.com
Date: 2008-06-04 09:05:13 -0400 (Wed, 04 Jun 2008)
New Revision: 7335
Removed:
framework/trunk/src/main/java/org/jboss/wsf/framework/transport/HttpListenerRef.java
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/transport/HttpTransportManager.java
Log:
JBWS-2202: Container integration has a dpendency on framework
Deleted: framework/trunk/src/main/java/org/jboss/wsf/framework/transport/HttpListenerRef.java
===================================================================
--- framework/trunk/src/main/java/org/jboss/wsf/framework/transport/HttpListenerRef.java 2008-06-04 12:52:45 UTC (rev 7334)
+++ framework/trunk/src/main/java/org/jboss/wsf/framework/transport/HttpListenerRef.java 2008-06-04 13:05:13 UTC (rev 7335)
@@ -1,71 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.framework.transport;
-
-import org.jboss.wsf.spi.transport.ListenerRef;
-import org.jboss.wsf.spi.transport.Protocol;
-
-import java.net.URI;
-
-/**
- * @author Heiko.Braun <heiko.braun at jboss.com>
- */
-public class HttpListenerRef implements ListenerRef
-{
- private String webContext;
- private String urlPattern;
- private URI address;
-
- public HttpListenerRef(String webContext, String urlPattern, URI address)
- {
- if(!webContext.startsWith("/"))
- webContext = "/"+webContext;
-
- if(!urlPattern.startsWith("/"))
- urlPattern = "/"+urlPattern;
-
- this.webContext = webContext;
- this.urlPattern = urlPattern;
- this.address = address;
- }
-
- public Protocol getProtocol()
- {
- return Protocol.HTTP;
- }
-
- public URI getAddress()
- {
- return address;
- }
-
- public String getUUID()
- {
- return this.webContext+this.urlPattern;
- }
-
-
- public String toString()
- {
- return getAddress().toString();
- }
-}
Modified: framework/trunk/src/main/java/org/jboss/wsf/framework/transport/HttpTransportManager.java
===================================================================
--- framework/trunk/src/main/java/org/jboss/wsf/framework/transport/HttpTransportManager.java 2008-06-04 12:52:45 UTC (rev 7334)
+++ framework/trunk/src/main/java/org/jboss/wsf/framework/transport/HttpTransportManager.java 2008-06-04 13:05:13 UTC (rev 7335)
@@ -29,6 +29,7 @@
import org.jboss.wsf.spi.transport.HttpSpec;
import org.jboss.wsf.spi.transport.ListenerRef;
import org.jboss.wsf.spi.transport.TransportManager;
+import org.jboss.wsf.spi.transport.HttpListenerRef;
import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
More information about the jbossws-commits
mailing list