|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.enterprise.servlet.AbstractOWServiceHandler org.deegree.enterprise.servlet.WMSHandler
public class WMSHandler
WMSHandler
is the handler class for WMS requests and their results.
Constructor Summary | |
---|---|
WMSHandler()
|
Method Summary | |
---|---|
void |
determineExceptionFormat(java.lang.String eFormat,
java.lang.String format,
java.lang.String version,
javax.servlet.http.HttpServletResponse response)
|
void |
handleGetMapResponse(GetMapResult response)
handles the response to a get map request |
void |
perform(OGCWebServiceRequest request,
javax.servlet.http.HttpServletResponse response)
performs the passed OGCWebServiceRequest by accessing service from the pool and passing the request to it |
void |
setRequest(OGCWebServiceRequest request)
It's a workaround to make the 'API' more usable. |
void |
writeServiceExceptionReport(OGCWebServiceException exception)
writes an service exception report into the OutputStream back to the client. the method considers the format an exception shall be returned to the client as defined in the request. |
Methods inherited from class org.deegree.enterprise.servlet.AbstractOWServiceHandler |
---|
sendException, sendException, sendExceptionReport |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WMSHandler()
Method Detail |
---|
public void perform(OGCWebServiceRequest request, javax.servlet.http.HttpServletResponse response) throws ServiceException
ServiceException
public void handleGetMapResponse(GetMapResult response) throws InvalidFormatException
response
-
InvalidFormatException
public void determineExceptionFormat(java.lang.String eFormat, java.lang.String format, java.lang.String version, javax.servlet.http.HttpServletResponse response)
eFormat
- format
- version
- response
- public void writeServiceExceptionReport(OGCWebServiceException exception)
exception
- the exception object containing the code and messagepublic void setRequest(OGCWebServiceRequest request)
request
-
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org