com.sapportals.portal.prt.servlets_jsp.server.jsp.response

Class JSPResponse

java.lang.Object
  extended by com.sapportals.portal.prt.servlets_jsp.server.jsp.response.JSPResponse
All Implemented Interfaces:
IPortalComponentResponse

Deprecated.

public class JSPResponse
extends Object
implements IPortalComponentResponse

Title: Description: Copyright: Copyright (c) 2001 Company:


Field Summary
protected  JspWriter m_jspWriter
          Deprecated.  
protected  int mm_status
          Deprecated.  
 
Fields inherited from interface com.sapportals.portal.prt.component.IPortalComponentResponse
ERROR, OK
 
Constructor Summary
JSPResponse(IPortalComponentResponse parentResponse)
          Deprecated.  
JSPResponse(IPortalComponentResponse parentResponse, JspWriter writer)
          Deprecated.  
 
Method Summary
 void addCookie(Cookie cookie)
          Deprecated. Helper method to add a cookie in the response
 void addResource(IResource resource)
          Deprecated.  
 void clearBuffer()
          Deprecated.  
 void close()
          Deprecated.  
 void flush()
          Deprecated.  
 void flushWrite(SharedString shString)
          Deprecated.  
 void flushWrite(String parm1)
          Deprecated.  
 PortalComponentContentType getContentType()
          Deprecated. Returns the reponse type of this response
 IPortalComponentResponse getParentResponse()
          Deprecated.  
 IPortalComponentRequest getRequest()
          Deprecated.  
 int getStatus()
          Deprecated. Gets the status of the response
 Writer getWriter()
          Deprecated. Gets the writer associated to this response
 void include(IPortalComponentRequest aRequest, INode aNode)
          Deprecated. Includes the content of another Portal Component in this response.
 void include(IPortalComponentRequest aRequest, IResource resource)
          Deprecated. Includes the content of a Resource in this response.
 void setContentType(PortalComponentContentType type)
          Deprecated. Sets the response type of this response.
 void setJspWriter(JspWriter writer)
          Deprecated.  
 void setStatus(int status)
          Deprecated. Sets the status of the response
 void write(String parm1)
          Deprecated. Adds a String in this response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_jspWriter

protected JspWriter m_jspWriter
Deprecated. 

mm_status

protected int mm_status
Deprecated. 
Constructor Detail

JSPResponse

public JSPResponse(IPortalComponentResponse parentResponse,
                   JspWriter writer)
Deprecated. 

JSPResponse

public JSPResponse(IPortalComponentResponse parentResponse)
Deprecated. 
Method Detail

getContentType

public PortalComponentContentType getContentType()
Deprecated. 
Description copied from interface: IPortalComponentResponse
Returns the reponse type of this response

Specified by:
getContentType in interface IPortalComponentResponse
Returns:
The ContentType value

getWriter

public Writer getWriter()
Deprecated. 
Description copied from interface: IPortalComponentResponse
Gets the writer associated to this response

Specified by:
getWriter in interface IPortalComponentResponse
Returns:
the writer of this response.

setJspWriter

public void setJspWriter(JspWriter writer)
Deprecated. 

include

public void include(IPortalComponentRequest aRequest,
                    IResource resource)
Deprecated. 
Description copied from interface: IPortalComponentResponse
Includes the content of a Resource in this response.

Specified by:
include in interface IPortalComponentResponse
Parameters:
aRequest - the the client's request
resource - the resource to include in the responce

include

public void include(IPortalComponentRequest aRequest,
                    INode aNode)
Deprecated. 
Description copied from interface: IPortalComponentResponse
Includes the content of another Portal Component in this response. The content of the target component is added in the current content of this response.

Specified by:
include in interface IPortalComponentResponse
Parameters:
aRequest - the the client's request
aNode - the node representing the target component.

addCookie

public void addCookie(Cookie cookie)
Deprecated. 
Description copied from interface: IPortalComponentResponse
Helper method to add a cookie in the response

Specified by:
addCookie in interface IPortalComponentResponse
Parameters:
cookie - The feature to be added to the Cookie attribute

write

public void write(String parm1)
Deprecated. 
Description copied from interface: IPortalComponentResponse
Adds a String in this response.

Specified by:
write in interface IPortalComponentResponse
Parameters:
parm1 - The String to be outputed in the response.

flushWrite

public void flushWrite(String parm1)
Deprecated. 

flushWrite

public void flushWrite(SharedString shString)
Deprecated. 

setContentType

public void setContentType(PortalComponentContentType type)
Deprecated. 
Description copied from interface: IPortalComponentResponse
Sets the response type of this response.
This value does not correspond to the final content type returned to the browser. It 's only relevant for the current proccession portal component that may want to render alternate content type.

Specified by:
setContentType in interface IPortalComponentResponse
Parameters:
type - The new ContentType value

flush

public void flush()
           throws IOException
Deprecated. 
Throws:
IOException

clearBuffer

public void clearBuffer()
Deprecated. 

addResource

public void addResource(IResource resource)
Deprecated. 

Description copied from interface: IPortalComponentResponse
Adds a resource in the response. This method provides a generic mechanism to output any kind of resource in the response.

Specified by:
addResource in interface IPortalComponentResponse
Parameters:
resource - The feature to be added to the Resource attribute
See Also:
IPortalComponentResponse.addResource(IResource)

getParentResponse

public IPortalComponentResponse getParentResponse()
Deprecated. 

setStatus

public void setStatus(int status)
Deprecated. 
Sets the status of the response

Specified by:
setStatus in interface IPortalComponentResponse
Parameters:
status - The status to sent

getStatus

public int getStatus()
Deprecated. 
Gets the status of the response

Specified by:
getStatus in interface IPortalComponentResponse
Returns:
the status as an int

getRequest

public IPortalComponentRequest getRequest()
Deprecated. 

Description copied from interface: IPortalComponentResponse
Gets an associated request object.

Specified by:
getRequest in interface IPortalComponentResponse
Returns:
the associated request object
See Also:
IPortalComponentResponse.getRequest()

close

public void close()
Deprecated. 
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 2011 SAP AG Complete Copyright Notice