com.sap.portal.prt.servlets_jsp.page

Class PRTPageContextImpl

java.lang.Object
  extended by javax.servlet.jsp.JspContext
      extended by javax.servlet.jsp.PageContext
          extended by com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl
              extended by com.sap.portal.prt.servlets_jsp.page.PRTPageContextImpl

public class PRTPageContextImpl
extends com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl


Field Summary
 
Fields inherited from class javax.servlet.jsp.PageContext
APPLICATION, APPLICATION_SCOPE, CONFIG, EXCEPTION, OUT, PAGE, PAGE_SCOPE, PAGECONTEXT, REQUEST, REQUEST_SCOPE, RESPONSE, SESSION, SESSION_SCOPE
 
Constructor Summary
PRTPageContextImpl()
           
 
Method Summary
 Object findAttribute(String name)
           
 void forward(String jspFile)
           
 Object getAttribute(String name, int scope)
           
 Enumeration getAttributeNamesInScope(int scope)
           
 int getAttributesScope(String name)
           
 void include(String jspFile)
           
 void include(String jspFile, boolean flush)
           
 void initialize(PortalComponentRequestProvider request, JSPResponseProvider response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)
          Initiates the instance with servlet parameters.
 void release()
           
 void removeAttribute(String name, int scope)
           
 void setAttribute(String name, Object o, int scope)
           
 
Methods inherited from class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl
evaluateInternal, evaluateInternal, getAttribute, getELContext, getEnum, getException, getExpressionEvaluator, getJspApplicationContext, getMethodExpression, getOut, getPage, getRequest, getResponse, getServlet, getServletConfig, getServletContext, getSession, getValueExpression, getVariableResolver, handlePageException, handlePageException, initialize, popBody, pushBody, pushBody, removeAttribute, setAttribute, setMethodVariable, setValueVariable
 
Methods inherited from class javax.servlet.jsp.PageContext
getErrorData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PRTPageContextImpl

public PRTPageContextImpl()
Method Detail

initialize

public void initialize(PortalComponentRequestProvider request,
                       JSPResponseProvider response,
                       String errorPageURL,
                       boolean needsSession,
                       int bufferSize,
                       boolean autoFlush)
                throws IOException,
                       IllegalStateException,
                       IllegalArgumentException
Initiates the instance with servlet parameters.

Parameters:
request - A refference to the PortalComponentRequestProvider to this jsp
response - A refference to the JSPResponseProvider that will be returned from jsp
errorPageURL - If an error page is set in jsp
needsSession - if a new session will be created if there isn't such
bufferSize - size of the buffer
autoFlush - if buffer will be autoflushed
Throws:
IOException
IllegalStateException
IllegalArgumentException

release

public void release()
Overrides:
release in class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl

setAttribute

public void setAttribute(String name,
                         Object o,
                         int scope)
Overrides:
setAttribute in class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl

getAttribute

public Object getAttribute(String name,
                           int scope)
Overrides:
getAttribute in class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl

removeAttribute

public void removeAttribute(String name,
                            int scope)
Overrides:
removeAttribute in class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl

getAttributesScope

public int getAttributesScope(String name)
Overrides:
getAttributesScope in class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl

getAttributeNamesInScope

public Enumeration getAttributeNamesInScope(int scope)
Overrides:
getAttributeNamesInScope in class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl

findAttribute

public Object findAttribute(String name)
Overrides:
findAttribute in class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl

include

public void include(String jspFile,
                    boolean flush)
             throws ServletException,
                    IOException
Overrides:
include in class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl
Throws:
ServletException
IOException

forward

public void forward(String jspFile)
             throws ServletException,
                    IOException
Overrides:
forward in class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl
Throws:
ServletException
IOException

include

public void include(String jspFile)
             throws ServletException,
                    IOException
Overrides:
include in class com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl
Throws:
ServletException
IOException
Access Rights

This class can be accessed from:


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


Copyright 2015 SAP AG Complete Copyright Notice