com.sapportals.portal.prt.service.hook

Interface IResponseHook

All Superinterfaces:
IHook

public interface IResponseHook
extends IHook


Method Summary
 IPortalComponentResponse getResponseHook(IPortalComponentRequest request, IPortalComponentResponse response)
          This method allows to return an alternate response to the framework.
 void responseHookDone(IPortalComponentRequest request, IPortalComponentResponse response)
           
 
Methods inherited from interface com.sapportals.portal.prt.service.hook.IHook
getType
 

Method Detail

getResponseHook

IPortalComponentResponse getResponseHook(IPortalComponentRequest request,
                                         IPortalComponentResponse response)
This method allows to return an alternate response to the framework.
The developer has to pay attention of not breaking the response mechanism while providing its own response.

Parameters:
request - the initial Request
response - the initial reaponse.
Returns:
The original one or a new response or null if not applicable.

responseHookDone

void responseHookDone(IPortalComponentRequest request,
                      IPortalComponentResponse response)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice