Skip navigation links

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

E17273-01


oracle.stellent.wcm.client.invokers
Class ResponseHandler

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


public class ResponseHandler
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
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

WCM_ERROR

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

Constructor Detail

ResponseHandler

public ResponseHandler(RequestInvoker invoker,
                       ClientApplication clientApplication)

Method Detail

isForward

public boolean isForward()
Returns:
true to forward request, false to include

setForward

public void setForward(boolean forward)

isPropogateErrors

public boolean isPropogateErrors()

setPropogateErrors

public void setPropogateErrors(boolean propogateErrors)

getInvoker

public RequestInvoker getInvoker()

getRequestContext

public RequestContext getRequestContext()

getSiteRequest

public SiteRequest getSiteRequest()

getSiteResponse

public SiteResponse getSiteResponse()

handleResponse

public void handleResponse()
                    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

handleResponse

protected void handleResponse(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

handleRedirect

protected void handleRedirect(SiteResponse siteResponse)
                       throws java.io.IOException
Handle a redirect from the SiteResponse
Parameters:
siteResponse - the site response
Throws:
java.io.IOException

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

writeString

protected void writeString(java.lang.String text)
                    throws java.io.IOException
Write the string content to the output
Parameters:
text - the text to write
Throws:
java.io.IOException

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® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


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