|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.server.csw.provider3.local.RequestHandler
public class RequestHandler
Request handler.
| Constructor Summary | |
|---|---|
RequestHandler()
Default constructor |
|
| Method Summary | |
|---|---|
protected void |
generateSoapResponse(OperationContext context,
String nsSoapUri,
String nsSoapPfx,
Exception exception)
Wraps the response within a SOAp envelope. |
OperationContext |
getOperationContext()
Gets the operation context. |
boolean |
getWasSoap()
Gets the flag indicating a SOAP based request. |
OperationResponse |
handleGet(HttpServletRequest request)
Handles a URL based request (HTTP GET). |
OperationResponse |
handleXML(String xml)
Handles an XML based request (normally HTTP POST). |
protected Document |
loadDom(String xml)
Loads an XML string into an XML Document. |
void |
parseServiceAndVersion(OperationContext context,
HttpServletRequest request)
Parses the service name and version for a URL based request (HTTP GET). |
void |
parseServiceAndVersion(OperationContext context,
Node root,
XPath xpath)
Parses the service name and version an XML based request (normally HTTP POST). |
void |
setOperationContext(OperationContext context)
Sets the operation context. |
void |
setWasSoap(boolean wasSoap)
Sets the flag indicating a SOAP based request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestHandler()
| Method Detail |
|---|
public OperationContext getOperationContext()
getOperationContext in interface IRequestHandlerpublic void setOperationContext(OperationContext context)
context - the operation contextpublic boolean getWasSoap()
true is this was a SOAP based requestpublic void setWasSoap(boolean wasSoap)
wasSoap - true is this was a SOAP based request
public OperationResponse handleGet(HttpServletRequest request)
throws Exception
handleGet in interface IRequestHandlerrequest - the HTTP request
Exception - if a processing exception occurs
public OperationResponse handleXML(String xml)
throws Exception
handleXML in interface IRequestHandlerxml - the XML
Exception - if a processing exception occurs
protected void generateSoapResponse(OperationContext context,
String nsSoapUri,
String nsSoapPfx,
Exception exception)
throws Exception
context - the operation contextnsSoapUri - the SOAP namespace URInsSoapPfx - the SOAP namespace prefixexception - an exception condition that should be wrapped as an OWS exception report
Exception - Exception if a processing exception occurs
protected Document loadDom(String xml)
throws OwsException
xml - the document XML string
OwsException - if the document fails to load
public void parseServiceAndVersion(OperationContext context,
HttpServletRequest request)
throws OwsException
context - the operation contextrequest - the HTTP request
OwsException - if validation fails
XPathExpressionException - if an XPath related exception occurs
public void parseServiceAndVersion(OperationContext context,
Node root,
XPath xpath)
throws OwsException,
XPathExpressionException
context - the operation contextroot - the root nodexpath - an XPath to enable queries (properly configured with name spaces)
OwsException - if validation fails
XPathExpressionException - if an XPath related exception occurs
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||