|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.client.invokers.SiteRequestInvoker<R>
public class SiteRequestInvoker<R extends SiteRequest>
Generic interface for invoking a particular request
Constructor Summary | |
---|---|
SiteRequestInvoker(RequestContext requestContext, ClientApplication clientApplication, java.lang.Class<R> siteRequestClass) |
Method Summary | |
---|---|
protected R |
createSiteRequest() Create a new site request object |
protected void |
finishSiteRequest() Cleanup after a request invocation |
ClientApplication |
getClientApplication() |
RequestContext |
getRequestContext() |
SiteContext |
getSiteContext() |
R |
getSiteRequest() Retrieve the associated request, populated with default parameters |
SiteResponse |
getSiteResponse() |
SiteResponseHandler |
getSiteResponseHandler() |
protected void |
handleSiteResponse() Handle the response of the site request; by default uses a ResponseHandler to draw the output |
void |
invokeSiteRequest() Invoke the associated site request |
void |
setPropagateResponseErrors(boolean propagateResponseErrors) |
void |
setSiteResponseHandler(SiteResponseHandler responseHandler) Set a custom response handler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SiteRequestInvoker(RequestContext requestContext, ClientApplication clientApplication, java.lang.Class<R> siteRequestClass) throws ApplicationException
ApplicationException
Method Detail |
---|
public SiteResponseHandler getSiteResponseHandler()
public void setSiteResponseHandler(SiteResponseHandler responseHandler)
responseHandler
- the response handlerpublic RequestContext getRequestContext()
public ClientApplication getClientApplication()
public SiteContext getSiteContext()
public R getSiteRequest()
public SiteResponse getSiteResponse()
invokeSiteRequest()
)public void setPropagateResponseErrors(boolean propagateResponseErrors)
public void invokeSiteRequest() throws ApplicationException, java.io.IOException
ApplicationException
java.io.IOException
protected R createSiteRequest()
protected void finishSiteRequest()
protected void handleSiteResponse() throws ApplicationException, java.io.IOException
ApplicationException
java.io.IOException
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |