|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aselect.system.communication.server.ServletResponseWrapper
public class ServletResponseWrapper
Wrapper to communicate in a transparant manner to a
HttpServletResponse.
Description:
This class is a Wrapper for the HttpServletResponse
which implements IProtocolResponse.
Concurrency issues:
-
| Constructor Summary | |
|---|---|
ServletResponseWrapper(javax.servlet.http.HttpServletResponse oResponse)
Create a new instance. |
|
| Method Summary | |
|---|---|
java.io.OutputStream |
getOutputStream()
Get the ouput stream of the response message. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Set a property of the response protocol. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServletResponseWrapper(javax.servlet.http.HttpServletResponse oResponse)
oResponse.
oResponse should be created by a servlet container.
oResponse.
oResponse - The HttpServletResponse
that this wrapper wraps.| Method Detail |
|---|
public java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in interface IProtocolResponseOutputStream to which the response
message can be send.
java.io.IOException - if OutputStream can't be
retrieved from the protocolIProtocolResponse.getOutputStream()
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface IProtocolResponsename - the name of the property that has to be set.value - the value that has to be set.IProtocolResponse.setProperty(java.lang.String, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||