Java Doc for Request.java in  » GIS » GeoTools-2.4.1 » org » geotools » data » ows » 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 » GIS » GeoTools 2.4.1 » org.geotools.data.ows 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.data.ows.Request

All known Subclasses:   org.geotools.data.ows.AbstractRequest,
Request
public interface Request (Code)
This represents a Request to be made against a Open Web Service.
author:
   rgould


Field Summary
final public static  StringREQUEST
    
final public static  StringSERVICE
    
final public static  StringVERSION
    
final public static  StringWMTVER
    


Method Summary
 ResponsecreateResponse(String contentType, InputStream inputStream)
     Each Request must know how to create it's counterpart Response.
public  URLgetFinalURL()
     Once the properties of the request are configured, this will return the URL that points to the server and contains all of the appropriate name/value parameters.
 StringgetPostContentType()
     If this request uses POST, it must specify the content type of the data that is to be written out during performPostOutput().
public  PropertiesgetProperties()
    
 voidperformPostOutput(OutputStream outputStream)
     This is called during the connection to the server, allowing this request to write out data to the server by using the provided outputStream. Implementors of this method do not need to call outputStream.flush() or outputStream.close().
 booleanrequiresPost()
     This method indicates whether this request needs to transmit some data to the server using POST.
public  voidsetProperty(String name, String value)
     Sets the name/value property for this request. Note that when using this method, it is up to the programmer to provide their own encoding of value according to the OWS specifications! The code will not do this for you.

Field Detail
REQUEST
final public static String REQUEST(Code)
Represents the REQUEST parameter



SERVICE
final public static String SERVICE(Code)



VERSION
final public static String VERSION(Code)
Represents the VERSION parameter



WMTVER
final public static String WMTVER(Code)
Represents the WMTVER parameter





Method Detail
createResponse
Response createResponse(String contentType, InputStream inputStream) throws ServiceException, IOException(Code)
Each Request must know how to create it's counterpart Response. Given the content type and input stream (containin the response data), this method must return an appropriate Response object.
Parameters:
  contentType - the MIME type of the data in the inputStream
Parameters:
  inputStream - contains the data from the response
throws:
  ServiceException -
throws:
  IOException -



getFinalURL
public URL getFinalURL()(Code)
Once the properties of the request are configured, this will return the URL that points to the server and contains all of the appropriate name/value parameters. a URL that can be used to issue the request



getPostContentType
String getPostContentType()(Code)
If this request uses POST, it must specify the content type of the data that is to be written out during performPostOutput(). For open web services, this is usually "application/xml". the MIME type of the data to be sent during the request



getProperties
public Properties getProperties()(Code)
a copy of this request's properties



performPostOutput
void performPostOutput(OutputStream outputStream) throws IOException(Code)
This is called during the connection to the server, allowing this request to write out data to the server by using the provided outputStream. Implementors of this method do not need to call outputStream.flush() or outputStream.close(). The framework will call them immediately after calling this method.
Parameters:
  outputStream -



requiresPost
boolean requiresPost()(Code)
This method indicates whether this request needs to transmit some data to the server using POST. If this returns true, performPostOutput() will be called during the connection, allowing the data to be written out to the server. true if this request needs POST support, false otherwise.



setProperty
public void setProperty(String name, String value)(Code)
Sets the name/value property for this request. Note that when using this method, it is up to the programmer to provide their own encoding of value according to the OWS specifications! The code will not do this for you. Different OWS specifications define different ways to do this. There are notorious differences between WMS 1.1.1 (section 6.2.1) and WMS 1.3.0 (section 6.3.2) for example. If value is null, "name" is removed from the properties table.
Parameters:
  name - the name of the property
Parameters:
  value - the value of the property



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