public class HttpGetHandler extends java.lang.Object implements DispatchHandler
| Modifier and Type | Class and Description |
|---|---|
class |
HttpGetHandler.catalogUpdater |
| Constructor and Description |
|---|
HttpGetHandler() |
HttpGetHandler(boolean enableUpdateUrl) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
describeCoverageTestPage(java.lang.String requestUrl,
java.util.Map<java.lang.String,java.lang.String[]> keyValuePairs) |
void |
destroy()
Called when the servlet is shutdown.
|
void |
echoWcsRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
java.lang.String |
getCapabilitiesTestPage(java.lang.String serviceUrl,
java.util.Map<java.lang.String,java.lang.String[]> keyValuePairs) |
java.lang.String |
getCoverageTestPage(javax.servlet.http.HttpServletRequest req,
java.util.Map<java.lang.String,java.lang.String[]> keyValuePairs) |
long |
getLastModified(javax.servlet.http.HttpServletRequest req) |
static java.lang.String |
getRequestUrlWithQuery(javax.servlet.http.HttpServletRequest request) |
void |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init(javax.servlet.http.HttpServlet dispatchServlet) |
void |
init(javax.servlet.http.HttpServlet dispatchServlet,
org.jdom.Element e)
Since a constructor cannot be defined for an interface there needs to
be a way to initialize the objects state.
|
void |
init(javax.servlet.http.HttpServlet dispatchServlet,
org.jdom.Element e,
BesApi besApi) |
void |
init(java.lang.String contextPath,
java.lang.String resourcePath) |
boolean |
isUpdateUrlEnabled() |
boolean |
requestCanBeHandled(javax.servlet.http.HttpServletRequest request) |
void |
sendCapabilitesPresentationPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
sendDescribeCoveragePage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setEnableUpdateUrl(boolean state) |
void |
testWcsRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
update(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public HttpGetHandler()
public HttpGetHandler(boolean enableUpdateUrl)
public void init(javax.servlet.http.HttpServlet dispatchServlet,
org.jdom.Element e)
throws javax.servlet.ServletException
DispatchHandlerinit in interface DispatchHandlerdispatchServlet - This should be the IsoDispatchHandler that creates the
instance of IsoDispatchHandler that is being intialized.e - A JDOM Element objct containing the XML Element that
announced which implementation of IsoDispatchHandler to use. It may (or
may not) contain additional confguration information.javax.servlet.ServletExceptionDispatchServletpublic void init(javax.servlet.http.HttpServlet dispatchServlet,
org.jdom.Element e,
BesApi besApi)
throws javax.servlet.ServletException
init in interface DispatchHandlerjavax.servlet.ServletExceptionpublic void init(javax.servlet.http.HttpServlet dispatchServlet)
throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic boolean isUpdateUrlEnabled()
public void setEnableUpdateUrl(boolean state)
public void init(java.lang.String contextPath,
java.lang.String resourcePath)
throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic boolean requestCanBeHandled(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
requestCanBeHandled in interface DispatchHandlerrequest - The request to be handled.java.lang.Exception - When the bad things happen.public void handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
handleRequest in interface DispatchHandlerrequest - The request to be handled.response - The response object into which the response information
will be placed.java.lang.Exception - When the bad things happen.public long getLastModified(javax.servlet.http.HttpServletRequest req)
getLastModified in interface DispatchHandlerreq - The request for which we need to get a last modified date.HttpServletpublic void destroy()
DispatchHandlerdestroy in interface DispatchHandlerpublic void update(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
java.lang.Exceptionpublic void sendDescribeCoveragePage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
java.lang.Exceptionpublic void sendCapabilitesPresentationPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
java.lang.Exceptionpublic void echoWcsRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic static java.lang.String getRequestUrlWithQuery(javax.servlet.http.HttpServletRequest request)
public void testWcsRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.InterruptedException,
java.io.IOException
java.lang.InterruptedExceptionjava.io.IOExceptionpublic java.lang.String getCapabilitiesTestPage(java.lang.String serviceUrl,
java.util.Map<java.lang.String,java.lang.String[]> keyValuePairs)
throws java.lang.InterruptedException,
WcsException
java.lang.InterruptedExceptionWcsExceptionpublic java.lang.String describeCoverageTestPage(java.lang.String requestUrl,
java.util.Map<java.lang.String,java.lang.String[]> keyValuePairs)
throws java.lang.InterruptedException,
WcsException
java.lang.InterruptedExceptionWcsExceptionpublic java.lang.String getCoverageTestPage(javax.servlet.http.HttpServletRequest req,
java.util.Map<java.lang.String,java.lang.String[]> keyValuePairs)
throws java.lang.InterruptedException,
WcsException
java.lang.InterruptedExceptionWcsException