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


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

All known Subclasses:   org.vfny.geoserver.wcs.servlets.WcsDispatcher,  org.vfny.geoserver.wms.servlets.WmsDispatcher,
Dispatcher
public class Dispatcher extends HttpServlet (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.
author:
   Rob Hranac, Vision for New York
author:
   Chris Holmes, TOPP
version:
   $Id: Dispatcher.java 7746 2007-11-13 15:38:35Z aaime $


Field Summary
final public static  intDESCRIBE_FEATURE_TYPE_REQUEST
    
final public static  intDESCRIBE_LAYER_REQUEST
    
final public static  intERROR
    
final public static  intGET_CAPABILITIES_REQUEST
    
final public static  intGET_FEATURE_INFO_REQUEST
    
final public static  intGET_FEATURE_LOCK_REQUEST
    
final public static  intGET_FEATURE_REQUEST
    
final public static  intGET_LEGEND_GRAPHIC_REQUEST
    
final public static  intGET_MAP_REQUEST
    
final public static  intLOCK_REQUEST
    
public static  StringMETA_REQUEST
    
final public static  intTRANSACTION_REQUEST
    
final public static  intUNKNOWN
    
final public static  shortWFS_SERVICE
    
final public static  shortWMS_SERVICE
    
protected  ServletConfigservletConfig
    


Method Summary
public  voiddoGet(HttpServletRequest request, HttpServletResponse response)
     Handles all Get requests.
public  voidinit(ServletConfig config)
    

Field Detail
DESCRIBE_FEATURE_TYPE_REQUEST
final public static int DESCRIBE_FEATURE_TYPE_REQUEST(Code)
Map describe feature type request type



DESCRIBE_LAYER_REQUEST
final public static int DESCRIBE_LAYER_REQUEST(Code)
WMS DescribeLayer request type



ERROR
final public static int ERROR(Code)
Map get feature request type



GET_CAPABILITIES_REQUEST
final public static int GET_CAPABILITIES_REQUEST(Code)
Map get capabilities request type



GET_FEATURE_INFO_REQUEST
final public static int GET_FEATURE_INFO_REQUEST(Code)
WMS get feature info request type



GET_FEATURE_LOCK_REQUEST
final public static int GET_FEATURE_LOCK_REQUEST(Code)
Map get feature with lock request type



GET_FEATURE_REQUEST
final public static int GET_FEATURE_REQUEST(Code)
Map get feature request type



GET_LEGEND_GRAPHIC_REQUEST
final public static int GET_LEGEND_GRAPHIC_REQUEST(Code)
WMS GetLegendGraphic request type



GET_MAP_REQUEST
final public static int GET_MAP_REQUEST(Code)
Map get capabilities request type



LOCK_REQUEST
final public static int LOCK_REQUEST(Code)
int representation of a lock request type



META_REQUEST
public static String META_REQUEST(Code)
Map metadata request type



TRANSACTION_REQUEST
final public static int TRANSACTION_REQUEST(Code)
Map get feature request type



UNKNOWN
final public static int UNKNOWN(Code)
Map get feature request type



WFS_SERVICE
final public static short WFS_SERVICE(Code)



WMS_SERVICE
final public static short WMS_SERVICE(Code)



servletConfig
protected ServletConfig servletConfig(Code)





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.



init
public void init(ServletConfig config) throws ServletException(Code)



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.