Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.client.invokers
Class SiteResponseHandler

java.lang.Object
  extended by oracle.stellent.wcm.client.invokers.SiteResponseHandler


public class SiteResponseHandler
extends java.lang.Object

Handle the response from the invoker.


Field Summary
static java.lang.String WCM_ERROR
          variable that holds the wcm error

 

Constructor Summary
SiteResponseHandler(SiteRequestInvoker 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
protected  SiteRequestInvoker getSiteRequestInvoker()
           
 void handleSiteResponse()
          Handle the response of the site request; by default uses a ResponseHandler to draw the output
protected  void handleSiteResponse(SiteResponse siteResponse)
          Handle the response of the site request; by default uses a ResponseHandler to draw the output
 void setForward(boolean forward)
           
 void setPropogateErrors(boolean propogateErrors)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

WCM_ERROR

public static final java.lang.String WCM_ERROR
variable that holds the wcm error
See Also:
Constant Field Values

Constructor Detail

SiteResponseHandler

public SiteResponseHandler(SiteRequestInvoker invoker,
                           ClientApplication clientApplication)

Method Detail

setForward

public void setForward(boolean forward)

setPropogateErrors

public void setPropogateErrors(boolean propogateErrors)

getSiteRequestInvoker

protected SiteRequestInvoker getSiteRequestInvoker()

handleSiteResponse

public void handleSiteResponse()
                        throws ApplicationException,
                               java.io.IOException
Handle the response of the site request; by default uses a ResponseHandler to draw the output
Throws:
ScriptException
java.io.IOException
ApplicationException

handleSiteResponse

protected void handleSiteResponse(SiteResponse siteResponse)
                           throws ApplicationException,
                                  java.io.IOException
Handle the response of the site request; by default uses a ResponseHandler to draw the output
Parameters:
siteResponse - the site response
Throws:
ScriptException
java.io.IOException
ApplicationException

createErrorResponse

protected SiteResponse createErrorResponse(SiteResponse siteResponse)
Create the site response object for an error view
Parameters:
siteResponse - the site response
Returns:
the error site response

evaluateScript

protected void evaluateScript(SiteResponse siteResponse)
                       throws java.io.IOException,
                              ApplicationException
Evaluate the script associated with this site response
Parameters:
siteResponse - the site response
Throws:
java.io.IOException
ApplicationException

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.