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