|
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.catalog.arcims.ImsRequest
public class ImsRequest
Super-class for an ArcIMS request.
| Field Summary | |
|---|---|
static String |
ACTION_STATUS_ERROR
|
static String |
ACTION_STATUS_NONE
|
static String |
ACTION_STATUS_OK
|
static String |
ACTION_STATUS_REPLACED
|
static String |
ACTION_STATUS_UNKNOWN
|
| Constructor Summary | |
|---|---|
protected |
ImsRequest()
Default constructor. |
| Method Summary | |
|---|---|
protected void |
executeRequest()
Executes an ArcIMS service request and parses the response. |
protected void |
executeRequest(ImsClient client)
Executes an ArcIMS service request and parses the response. |
String |
getActionStatus()
Gets the action status for the request. |
protected String |
getAxlRequest()
Gets the ArcIMS axl request. |
protected String |
getAxlResponse()
Gets the ArcIMS axl response. |
Credentials |
getCredentials()
Gets the credentials for the user. |
ImsService |
getService()
Gets the service to which the request will be sent. |
protected ImsClient |
makeClient(RequestContext context,
Publisher publisher)
Makes a suitable client for the service. |
protected void |
onEndSaxElement(String lowerCaseTagName,
String characters)
Triggered when a SAX element is ended during the parsing of an axl response. |
protected void |
onStartSaxElement(String lowerCaseTagName,
Attributes attributes)
Triggered when a SAX element is started during the parsing of an axl response. |
protected void |
setActionStatus(String actionStatus)
Sets the action status for the request. |
protected void |
setAxlRequest(String axlRequest)
Sets the ArcIMS axl request. |
protected void |
setAxlResponse(String axlResponse)
Sets the ArcIMS axl response. |
void |
setCredentials(Credentials credentials)
Sets the credentials for the user. |
void |
setService(ImsService service)
Sets the service to which the request will be sent. |
boolean |
wasActionOK()
Returns true if the action was OK. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ACTION_STATUS_ERROR
public static final String ACTION_STATUS_NONE
public static final String ACTION_STATUS_OK
public static final String ACTION_STATUS_REPLACED
public static final String ACTION_STATUS_UNKNOWN
| Constructor Detail |
|---|
protected ImsRequest()
| Method Detail |
|---|
public String getActionStatus()
protected void setActionStatus(String actionStatus)
actionStatus - the action statusprotected String getAxlRequest()
protected void setAxlRequest(String axlRequest)
axlRequest - the axl requestprotected String getAxlResponse()
protected void setAxlResponse(String axlResponse)
axlResponse - the axl responsepublic Credentials getCredentials()
public void setCredentials(Credentials credentials)
credentials - the credentialspublic ImsService getService()
public void setService(ImsService service)
service - the servicepublic boolean wasActionOK()
protected void executeRequest()
throws ImsServiceException
ImsServiceException - if an exception occurs
protected void executeRequest(ImsClient client)
throws ImsServiceException
ImsServiceException - if an exception occurs
protected ImsClient makeClient(RequestContext context,
Publisher publisher)
context - the active request context (only required
for socket request against the GPT_Browse_Service or GPT_Publish_Servicepublisher - the publisher associated with the request (only required
for a socket request against the GPT_Publish_Service
protected void onEndSaxElement(String lowerCaseTagName,
String characters)
lowerCaseTagName - the lower-case tag name of the elementcharacters - the text node value of the element
protected void onStartSaxElement(String lowerCaseTagName,
Attributes attributes)
lowerCaseTagName - the lower-case tag name of the elementattributes - the element attributes
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||