JAXWS2.2: Implement new added apis javax.xml.ws.spi.http.*
-----------------------------------------------------------
Key: CXF-2845
URL: https://issues.apache.org/jira/browse/CXF-2845
Project: CXF
Issue Type: Task
Components: JAX-WS Runtime
Reporter: jimma
Assignee: jimma
Fix For: 2.2.10
JAXWS.2.2 Spec says :
6.6 javax.xml.ws.spi.http (HTTP SPI)
The classes in this package can be used for a portable deployment of JAX-WS web
services in a HTTP con-
tainer(for example, servlet container). This SPI enables to decouple the JAX-WS
deployment and runtime
and is not meant for end developers but for container or its extension
developers.
The HTTP SPI allows a deployment to use any available web services runtime for
HTTP transport. Java
EE6 web profile vendors can support JSR-109[16] deployments using the JAX-WS
2.2 runtime in Java
SE platform. For example, a Servlet 3.0 extension can be used to do the JSR-109
deployment by reading
deployment descriptors and hand-off the request processing to the web services
runtime that is in Java SE
platform.
The HTTP SPI consists of the following classes:
javax.xml.ws.spi.http.HttpContext HttpContext represents a mapping between the
root URI
path of a web service to a HttpHandler which is invoked to handle
requests destined for that path
on the associated container.
javax.xml.ws.spi.http.HttpExchange This class encapsulates a HTTP request
received and a re-
sponse to be generated in one exchange.
javax.xml.ws.spi.http.HttpHandler A handler which is invoked to process HTTP
exchanges.
javax.xml.ws.spi.Invoker Invoker hides the detail of calling into application
endpoint implemen-
tation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.