|
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.ResponseHandler
public class ResponseHandler
Handle the response from the invoker.
Field Summary | |
---|---|
static java.lang.String |
WCM_ERROR variable that holds the wcm error |
Constructor Summary | |
---|---|
ResponseHandler(RequestInvoker invoker, ClientApplication clientApplication) |
Method Summary | |
---|---|
protected SiteResponse |
createErrorResponse(SiteResponse siteResponse) Create the site response object for an error view |
protected void |
evaluateScript(SiteResponse siteResponse) Evaluate the script associated with this site response |
RequestInvoker |
getInvoker() |
RequestContext |
getRequestContext() |
SiteRequest |
getSiteRequest() |
SiteResponse |
getSiteResponse() |
protected void |
handleRedirect(SiteResponse siteResponse) Handle a redirect from the SiteResponse |
void |
handleResponse() Handle the response of the site request; by default uses a ResponseHandler to draw the output |
protected void |
handleResponse(SiteResponse siteResponse) Handle the response of the site request; by default uses a ResponseHandler to draw the output |
boolean |
isForward() |
boolean |
isPropogateErrors() |
void |
setForward(boolean forward) |
void |
setPropogateErrors(boolean propogateErrors) |
protected void |
writeString(java.lang.String text) Write the string content to the output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String WCM_ERROR
Constructor Detail |
---|
public ResponseHandler(RequestInvoker invoker, ClientApplication clientApplication)
Method Detail |
---|
public boolean isForward()
public void setForward(boolean forward)
public boolean isPropogateErrors()
public void setPropogateErrors(boolean propogateErrors)
public RequestInvoker getInvoker()
public RequestContext getRequestContext()
public SiteRequest getSiteRequest()
public SiteResponse getSiteResponse()
public void handleResponse() throws ApplicationException, java.io.IOException
ScriptException
java.io.IOException
ApplicationException
protected void handleResponse(SiteResponse siteResponse) throws ApplicationException, java.io.IOException
siteResponse
- the site responseScriptException
java.io.IOException
ApplicationException
protected void handleRedirect(SiteResponse siteResponse) throws java.io.IOException
siteResponse
- the site responsejava.io.IOException
protected SiteResponse createErrorResponse(SiteResponse siteResponse)
siteResponse
- the site responseprotected void writeString(java.lang.String text) throws java.io.IOException
text
- the text to writejava.io.IOException
protected void evaluateScript(SiteResponse siteResponse) throws java.io.IOException, ApplicationException
siteResponse
- the site responsejava.io.IOException
ApplicationException
|
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 |