Java Doc for WmsDispatcher.java in  » GIS » GeoServer » org » vfny » geoserver » wms » servlets » 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 » GeoServer » org.vfny.geoserver.wms.servlets 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.servlet.http.HttpServlet
   org.vfny.geoserver.servlets.Dispatcher
      org.vfny.geoserver.wms.servlets.WmsDispatcher

WmsDispatcher
public class WmsDispatcher extends Dispatcher (Code)
Routes requests made at the top-level URI to appropriate interface servlet. Note that the logic of this method could be generously described as 'loose.' It is not checking for request validity in any way (this is done by the reqeust- specific servlets). Rather, it is attempting to make a reasonable guess as to what servlet to call, given that the client is routing to the top level URI as opposed to the request-specific URI, as specified in the GetCapabilities response. Thus, this is a convenience method, which allows for some slight client laziness and helps explain to lost souls/spiders what lives at the URL. Due to the string parsing, it is much faster (and recommended) to use the URIs specified in the GetCapabablities response. Currently does not support post requests, but most requests for this will likely come with get.
author:
   Chris Holmes, TOPP
version:
   $Id: WmsDispatcher.java 7746 2007-11-13 15:38:35Z aaime $




Method Summary
public  voiddoGet(HttpServletRequest request, HttpServletResponse response)
     Handles all Get requests.
public  voiddoPost(HttpServletRequest request, HttpServletResponse response)
     Passes the Post method to the Get method, with no modifications.
protected  voiddoResponse(boolean isPost, HttpServletRequest request, HttpServletResponse response, int req_type)
    



Method Detail
doGet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)
Handles all Get requests. This method implements the main matching logic for the class.
Parameters:
  request - The servlet request object.
Parameters:
  response - The servlet response object.
throws:
  ServletException - For any servlet problems.
throws:
  IOException - For any io problems.



doPost
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)
Passes the Post method to the Get method, with no modifications.
Parameters:
  request - The servlet request object.
Parameters:
  response - The servlet response object.
throws:
  ServletException - For any servlet problems.
throws:
  IOException - For any io problems.



doResponse
protected void doResponse(boolean isPost, HttpServletRequest request, HttpServletResponse response, int req_type) throws ServletException, IOException(Code)



Fields inherited from org.vfny.geoserver.servlets.Dispatcher
final public static int DESCRIBE_FEATURE_TYPE_REQUEST(Code)(Java Doc)
final public static int DESCRIBE_LAYER_REQUEST(Code)(Java Doc)
final public static int ERROR(Code)(Java Doc)
final public static int GET_CAPABILITIES_REQUEST(Code)(Java Doc)
final public static int GET_FEATURE_INFO_REQUEST(Code)(Java Doc)
final public static int GET_FEATURE_LOCK_REQUEST(Code)(Java Doc)
final public static int GET_FEATURE_REQUEST(Code)(Java Doc)
final public static int GET_LEGEND_GRAPHIC_REQUEST(Code)(Java Doc)
final public static int GET_MAP_REQUEST(Code)(Java Doc)
final public static int LOCK_REQUEST(Code)(Java Doc)
public static String META_REQUEST(Code)(Java Doc)
final public static int TRANSACTION_REQUEST(Code)(Java Doc)
final public static int UNKNOWN(Code)(Java Doc)
final public static short WFS_SERVICE(Code)(Java Doc)
final public static short WMS_SERVICE(Code)(Java Doc)
protected ServletConfig servletConfig(Code)(Java Doc)

Methods inherited from org.vfny.geoserver.servlets.Dispatcher
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)(Java Doc)
public void init(ServletConfig config) throws ServletException(Code)(Java Doc)

Methods inherited from javax.servlet.http.HttpServlet
protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected long getLastModified(HttpServletRequest req)(Code)(Java Doc)
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)

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