Java Doc for HttpAdapter.java in  » 6.0-JDK-Modules » jax-ws-runtime » com » sun » xml » ws » transport » http » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » jax ws runtime » com.sun.xml.ws.transport.http 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.xml.ws.transport.http.HttpAdapter

All known Subclasses:   com.sun.xml.ws.transport.http.servlet.ServletAdapter,
HttpAdapter
public class HttpAdapter extends Adapter (Code)
Adapter that receives messages in HTTP.

This object also assigns unique query string (such as "xsd=1") to each SDDocument so that they can be served by HTTP GET requests.
author:
   Kohsuke Kawaguchi
author:
   Jitendra Kotamraju


Inner Class :final class AsyncTransport extends AbstractServerAsyncTransport
Inner Class :final class Oneway implements TransportBackChannel
Inner Class :final class HttpToolkit extends Adapter.Toolkit

Field Summary
public static  booleandump
     Dumps what goes across HTTP transport.
final public  HttpAdapterList<? extends HttpAdapter>owner
    
public static  booleanpublishStatusPage
    
final public  Map<SDDocument, String>revWsdls
     Reverse map of HttpAdapter.wsdls .
final public  StringurlPattern
     Servlet URL pattern with which this HttpAdapter is associated.
final public  Map<String, SDDocument>wsdls
    SDDocument s keyed by the query string like "?abc".

Constructor Summary
protected  HttpAdapter(WSEndpoint endpoint, HttpAdapterList<? extends HttpAdapter> owner)
    
protected  HttpAdapter(WSEndpoint endpoint, HttpAdapterList<? extends HttpAdapter> owner, String urlPattern)
    

Method Summary
public static  HttpAdaptercreateAlone(WSEndpoint endpoint)
     Creates a lone HttpAdapter that does not know of any other HttpAdapter s.
protected  HttpToolkitcreateToolkit()
    
public  StringgetValidPath()
     Returns the "/abc/def/ghi" portion if the URL pattern is "/abc/def/ghi/*".
public  voidhandle(WSHTTPConnection connection)
     Receives the incoming HTTP connection and dispatches it to JAX-WS.
public  voidinvokeAsync(WSHTTPConnection con)
    
public  voidpublishWSDL(WSHTTPConnection con)
     Sends out the WSDL (and other referenced documents) in response to the GET requests to URLs like "?wsdl" or "?xsd=2".

Field Detail
dump
public static boolean dump(Code)
Dumps what goes across HTTP transport.



owner
final public HttpAdapterList<? extends HttpAdapter> owner(Code)



publishStatusPage
public static boolean publishStatusPage(Code)



revWsdls
final public Map<SDDocument, String> revWsdls(Code)
Reverse map of HttpAdapter.wsdls . Read-only.



urlPattern
final public String urlPattern(Code)
Servlet URL pattern with which this HttpAdapter is associated.



wsdls
final public Map<String, SDDocument> wsdls(Code)
SDDocument s keyed by the query string like "?abc". Used for serving documents via HTTP GET. Empty if the endpoint doesn't have ServiceDefinition . Read-only.




Constructor Detail
HttpAdapter
protected HttpAdapter(WSEndpoint endpoint, HttpAdapterList<? extends HttpAdapter> owner)(Code)



HttpAdapter
protected HttpAdapter(WSEndpoint endpoint, HttpAdapterList<? extends HttpAdapter> owner, String urlPattern)(Code)




Method Detail
createAlone
public static HttpAdapter createAlone(WSEndpoint endpoint)(Code)
Creates a lone HttpAdapter that does not know of any other HttpAdapter s. This is convenient for creating an HttpAdapter for an environment where they don't know each other (such as JavaSE deployment.)
Parameters:
  endpoint - web service endpoint singe adapter to process HTTP messages



createToolkit
protected HttpToolkit createToolkit()(Code)



getValidPath
public String getValidPath()(Code)
Returns the "/abc/def/ghi" portion if the URL pattern is "/abc/def/ghi/*".



handle
public void handle(WSHTTPConnection connection) throws IOException(Code)
Receives the incoming HTTP connection and dispatches it to JAX-WS. This method returns when JAX-WS completes processing the request and the whole reply is written to WSHTTPConnection .

This method is invoked by the lower-level HTTP stack, and "connection" here is an HTTP connection.

To populate a request Packet with more info, define PropertySet.Property properties on WSHTTPConnection .
Parameters:
  connection - to receive/send HTTP messages for web service endpoints
throws:
  IOException - when I/O errors happen




invokeAsync
public void invokeAsync(WSHTTPConnection con) throws IOException(Code)



publishWSDL
public void publishWSDL(WSHTTPConnection con) throws IOException(Code)
Sends out the WSDL (and other referenced documents) in response to the GET requests to URLs like "?wsdl" or "?xsd=2".
Parameters:
  con - The connection to which the data will be sent.
throws:
  IOException - when I/O errors happen



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.