|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.HTML.HTTPRestOutputProcessor
Uses HTTP REST API to execute some action on one or more IResult metadata objects.
XML Configuration Template:
<ResultSetProcessor class="com.raritantechnologies.HTML.HTTPRestOutputProcessor"
requestURL="[ base URL for the HTTP request ]"
requestMethod="[ GET | POST | GET_AUTHORIZED | POST_AUTHORIZED ]"
userLoginName="[ login credentials in UserInfo ]" >
<!-- List user attributes to add to request -->
<UserAttributes>
<Attribute name="[ name of user attribute ]" />
</UserAttributes>
<!-- Uses a ResultRenderer to create the request packet -->
<ResultRenderer class="[ class of com.raritantechnologies.searchApp.taglibrary.IResultRenderer ]" >
</ResultRenderer>
<!-- Alternatively can use an IXMLResultRenderer to get the request packet -->
<XMLResultRenderer class="[ class of com.raritantechnologies.xml.IXMLResultRenderer ]" >
</XMLResultRenderer>
</ResultSetProcessor>
| Constructor Summary | |
HTTPRestOutputProcessor()
|
|
| Method Summary | |
void |
dataComplete()
Data feed is complete. |
java.lang.String |
getConfigurationXML()
|
void |
initialize(org.w3c.dom.Element elem)
Initialize the from XML Element. |
void |
initialize(org.w3c.dom.Element configElem,
ISearchFieldMap sfMap)
Initialize the GatewayOutputProcessor from XML Configuration Element. |
void |
initialize(java.util.Map initParams)
Dynamic initialization. |
java.lang.String |
processData(IResultSet data)
returns name of XML File created/appended. |
void |
processResultSet(java.lang.String sessionID,
IResultSet data)
processes the IResultSet (somehow) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTTPRestOutputProcessor()
| Method Detail |
public java.lang.String processData(IResultSet data)
IGatewayOutputProcessor
processData in interface IGatewayOutputProcessor
public void processResultSet(java.lang.String sessionID,
IResultSet data)
IResultSetProcessor
processResultSet in interface IResultSetProcessorpublic void dataComplete()
IResultSetProcessor
dataComplete in interface IResultSetProcessorpublic void initialize(java.util.Map initParams)
IResultSetProcessor
initialize in interface IResultSetProcessorpublic void initialize(org.w3c.dom.Element elem)
initialize in interface IResultSetProcessor
public void initialize(org.w3c.dom.Element configElem,
ISearchFieldMap sfMap)
IGatewayOutputProcessor
initialize in interface IGatewayOutputProcessorpublic java.lang.String getConfigurationXML()
getConfigurationXML in interface IGatewayOutputProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||