|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPortalComponentResponse
The IPortalComponentResponse encapsulates all the information sent from the Portal Component to the Client.
| Field Summary | |
|---|---|
static int |
ERROR
|
static int |
OK
|
| Method Summary | |
|---|---|
void |
addCookie(Cookie cookie)
Helper method to add a cookie in the response |
void |
addResource(IResource resource)
Deprecated. This method is not recommended to be used anymore. It might lead to unexpected results due to the undefined coupling of a request object to a response object. Please use include(IPortalComponentRequest, IResource)
instead. |
PortalComponentContentType |
getContentType()
Returns the reponse type of this response |
IPortalComponentRequest |
getRequest()
Deprecated. Note: this method should not be called. It is only used in conjunction with addResource, which is deprecated also. The association of a request object with a response object is not "design-stable". |
int |
getStatus()
Gets the status of the response |
Writer |
getWriter()
Gets the writer associated to this response |
void |
include(IPortalComponentRequest aRequest,
INode aNode)
Includes the content of another Portal Component in this response. |
void |
include(IPortalComponentRequest aRequest,
IResource aResource)
Includes the content of a Resource in this response. |
void |
setContentType(PortalComponentContentType type)
Sets the response type of this response. |
void |
setStatus(int status)
Sets the status of the response |
void |
write(String aString)
Adds a String in this response. |
| Field Detail |
|---|
static final int ERROR
static final int OK
| Method Detail |
|---|
void addCookie(Cookie cookie)
cookie - The feature to be added to the Cookie attributevoid addResource(IResource resource)
include(IPortalComponentRequest, IResource)
instead.
resource - The feature to be added to the Resource attributevoid write(String aString)
aString - The String to be outputed in the response.Writer getWriter()
void include(IPortalComponentRequest aRequest,
IResource aResource)
aRequest - the the client's requestaResource - the resource to include in the responce
void include(IPortalComponentRequest aRequest,
INode aNode)
aRequest - the the client's requestaNode - the node representing the target component.void setContentType(PortalComponentContentType type)
type - The new ContentType valuePortalComponentContentType getContentType()
void setStatus(int status)
status - The status to sentint getStatus()
IPortalComponentRequest getRequest()
| Access Rights |
|---|
| 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]
|
default
|
EP-PIN-PRT
|
|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||