cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r784327 - in /cxf/sandbox/geronimo-jaxws_2.2_spec: TODO src/main/java/javax/xml/ws/spi/Provider.java src/main/java/javax/xml/ws/spi/http/HttpExchange.java src/main/java/javax/xml/ws/spi/http/HttpHandler.java
Date Sat, 13 Jun 2009 01:38:54 GMT
Author: dkulp
Date: Sat Jun 13 01:38:53 2009
New Revision: 784327

URL: http://svn.apache.org/viewvc?rev=784327&view=rev
Log:
Updates to make it fully compat (according to japi)

Modified:
    cxf/sandbox/geronimo-jaxws_2.2_spec/TODO
    cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/Provider.java
    cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/http/HttpExchange.java
    cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/http/HttpHandler.java

Modified: cxf/sandbox/geronimo-jaxws_2.2_spec/TODO
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxws_2.2_spec/TODO?rev=784327&r1=784326&r2=784327&view=diff
==============================================================================
--- cxf/sandbox/geronimo-jaxws_2.2_spec/TODO (original)
+++ cxf/sandbox/geronimo-jaxws_2.2_spec/TODO Sat Jun 13 01:38:53 2009
@@ -1 +1 @@
-
+Add javadoc.  :-)

Modified: cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/Provider.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/Provider.java?rev=784327&r1=784326&r2=784327&view=diff
==============================================================================
--- cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/Provider.java (original)
+++ cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/Provider.java Sat Jun
13 01:38:53 2009
@@ -46,13 +46,13 @@
     /**
      * Creates a service delegate object for the URL and service Qname
      */
-    public abstract ServiceDelegate createServiceDelegate(URL url, QName qname, Class<?
extends Service> class1);
+    public abstract ServiceDelegate createServiceDelegate(URL url, QName qname, Class class1);
     
     /**
      * Creates a service delegate object for the URL, service Qname, and web service features.
      * @since 2.2
      */
-    public ServiceDelegate createServiceDelegate(URL url, QName qname, Class<? extends
Service> cls,
+    public ServiceDelegate createServiceDelegate(URL url, QName qname, Class cls,
                                                  WebServiceFeature ... features) {
         throw new UnsupportedOperationException("JAX-WS 2.2 implementations must override
this method.");        
     }
@@ -66,7 +66,7 @@
      * Creates an Endpoint object with the provided bindingId, implementation class, invoker,
and web service features.
      * @since 2.2
      */
-    public Endpoint createEndpoint(String bindingId, Class<?> cls, Invoker invoker,
WebServiceFeature ... features) {
+    public Endpoint createEndpoint(String bindingId, Class cls, Invoker invoker, WebServiceFeature
... features) {
         throw new UnsupportedOperationException("JAX-WS 2.2 implementations must override
this method.");        
     }
     

Modified: cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/http/HttpExchange.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/http/HttpExchange.java?rev=784327&r1=784326&r2=784327&view=diff
==============================================================================
--- cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/http/HttpExchange.java
(original)
+++ cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/http/HttpExchange.java
Sat Jun 13 01:38:53 2009
@@ -19,63 +19,71 @@
 
 package javax.xml.ws.spi.http;
 
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.net.InetSocketAddress;
+import java.security.Principal;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
 /**
  * @since 2.2
  */
 public abstract class HttpExchange {
 
-            public HttpExchange()
-            {
-            }
-
-            public abstract Map getRequestHeaders();
-
-            public abstract String getRequestHeader(String name);
-
-            public abstract Map getResponseHeaders();
-
-            public abstract void addResponseHeader(String name, String value);
-
-            public abstract String getRequestURI();
-
-            public abstract String getContextPath();
-
-            public abstract String getRequestMethod();
-
-            public abstract HttpContext getHttpContext();
-
-            public abstract void close()
-                throws IOException;
-
-            public abstract InputStream getRequestBody()
-                throws IOException;
-
-            public abstract OutputStream getResponseBody()
-                throws IOException;
-
-            public abstract void setStatus(int status);
-
-            public abstract InetSocketAddress getRemoteAddress();
-
-            public abstract InetSocketAddress getLocalAddress();
-
-            public abstract String getProtocol();
-
-            public abstract String getScheme();
-
-            public abstract String getPathInfo();
-
-            public abstract String getQueryString();
-
-            public abstract Object getAttribute(String name);
-
-            public abstract Set getAttributeNames();
-
-            public abstract Principal getUserPrincipal();
-
-            public abstract boolean isUserInRole(String role);
-
-            public static final String REQUEST_CIPHER_SUITE = "javax.xml.ws.spi.http.request.cipher.suite";
-            public static final String REQUEST_KEY_SIZE = "javax.xml.ws.spi.http.request.key.size";
-            public static final String REQUEST_X509CERTIFICATE = "javax.xml.ws.spi.http.request.cert.X509Certificate";
+    public HttpExchange() {
+    }
+    
+    public abstract Map<String, List<String>> getRequestHeaders();
+    
+    public abstract String getRequestHeader(String name);
+    
+    public abstract Map<String, List<String>> getResponseHeaders();
+    
+    public abstract void addResponseHeader(String name, String value);
+    
+    public abstract String getRequestURI();
+    
+    public abstract String getContextPath();
+    
+    public abstract String getRequestMethod();
+    
+    public abstract HttpContext getHttpContext();
+    
+    public abstract void close()
+        throws IOException;
+    
+    public abstract InputStream getRequestBody()
+        throws IOException;
+    
+    public abstract OutputStream getResponseBody()
+        throws IOException;
+    
+    public abstract void setStatus(int status);
+    
+    public abstract InetSocketAddress getRemoteAddress();
+    
+    public abstract InetSocketAddress getLocalAddress();
+    
+    public abstract String getProtocol();
+    
+    public abstract String getScheme();
+    
+    public abstract String getPathInfo();
+    
+    public abstract String getQueryString();
+    
+    public abstract Object getAttribute(String name);
+    
+    public abstract Set<String> getAttributeNames();
+    
+    public abstract Principal getUserPrincipal();
+    
+    public abstract boolean isUserInRole(String role);
+    
+    public static final String REQUEST_CIPHER_SUITE = "javax.xml.ws.spi.http.request.cipher.suite";
+    public static final String REQUEST_KEY_SIZE = "javax.xml.ws.spi.http.request.key.size";
+    public static final String REQUEST_X509CERTIFICATE = "javax.xml.ws.spi.http.request.cert.X509Certificate";
 }

Modified: cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/http/HttpHandler.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/http/HttpHandler.java?rev=784327&r1=784326&r2=784327&view=diff
==============================================================================
--- cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/http/HttpHandler.java
(original)
+++ cxf/sandbox/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/spi/http/HttpHandler.java
Sat Jun 13 01:38:53 2009
@@ -19,10 +19,12 @@
 
 package javax.xml.ws.spi.http;
 
+import java.io.IOException;
+
 /**
  * 
  */
 public abstract class HttpHandler {
-    public abstract void handle(HttpExchange exchange); 
+    public abstract void handle(HttpExchange exchange) throws IOException; 
     
 }



Mime
View raw message