|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SOAPResponse
This is the interface that is supported by the SOAP Container to represent a response object. The SOAP Container will call the methods of this interface while processing a request/response.
Method Summary | |
---|---|
void |
addCookie(javax.servlet.http.Cookie cookie)
Add a cookie to the response. |
void |
addDateHeader(java.lang.String name,
long t)
Add a header as a long value |
void |
addHeader(byte[] name,
byte[] value)
Add a header |
void |
addHeader(java.lang.String name,
java.lang.String value)
Add a header |
void |
addIntHeader(java.lang.String name,
int i)
Add a header as an int value |
boolean |
containsHeader(byte[] name)
Returns true if the header with the supplied name is already present |
boolean |
containsHeader(java.lang.String name)
Returns true is the header with the supplied name is already present |
void |
finishResponse()
This method triggers the completion of the response. |
void |
flushBufferedContent()
Cause the current buffers to be written immediately. |
javax.servlet.http.Cookie[] |
getCookies()
Get all the cookies for the response |
java.lang.String |
getHeader(byte[] name)
Get a header |
java.lang.String |
getHeader(java.lang.String name)
Get a header |
java.io.OutputStream |
getOutputStream()
Get the OutputStream |
SOAPRequest |
getRequest()
Get the webcontainer channel request object for this response |
boolean |
isCommitted()
Check if the response is committed yet |
void |
removeHeader(byte[] name)
Removes the header with the given name |
void |
removeHeader(java.lang.String name)
Removes the header with the given name |
void |
setContentLength(int value)
Sets the "content length" header in the response. |
void |
setContentType(java.lang.String value)
Sets the "content type" header in the response. |
void |
setDateHeader(java.lang.String name,
long t)
Set date header as a long value |
void |
setFlushMode(boolean flushToWire)
Sets the flush mode. |
void |
setHeader(byte[] name,
byte[] bs)
|
void |
setHeader(java.lang.String name,
java.lang.String s)
|
void |
setIntHeader(java.lang.String name,
int i)
Set a header as an int |
void |
setReason(byte[] reason)
Sets the reason in the response. |
void |
setReason(java.lang.String reason)
Sets the reason in the response. |
void |
setStatusCode(int code)
Sets the HTTP status code |
Method Detail |
---|
void setStatusCode(int code)
code
- the HTTP status codejava.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
boolean isCommitted()
void addHeader(java.lang.String name, java.lang.String value)
name
- the name of the headervalue
- the value of the headervoid addHeader(byte[] name, byte[] value)
name
- the name of the headervalue
- the value of the headervoid addDateHeader(java.lang.String name, long t)
name
- the header namet
- the header date valuevoid addIntHeader(java.lang.String name, int i)
name
- the header namei
- the header int valuevoid setDateHeader(java.lang.String name, long t)
name
- the header namet
- the header date valuevoid setIntHeader(java.lang.String name, int i)
name
- the header namei
- the header int valuejava.lang.String getHeader(java.lang.String name)
name
- the header name
java.lang.String getHeader(byte[] name)
name
- the header name
boolean containsHeader(java.lang.String name)
name
- the header name
boolean containsHeader(byte[] name)
name
- the header name
void removeHeader(java.lang.String name)
name
- the header namevoid removeHeader(byte[] name)
name
- the header nameSOAPRequest getRequest()
void setFlushMode(boolean flushToWire)
flushToWire
- void setContentType(java.lang.String value)
value
- void setContentLength(int value)
value
- void setReason(java.lang.String reason)
reason
- void setReason(byte[] reason)
reason
- void addCookie(javax.servlet.http.Cookie cookie)
cookie
- javax.servlet.http.Cookie[] getCookies()
void setHeader(java.lang.String name, java.lang.String s)
name
- s
- void setHeader(byte[] name, byte[] bs)
name
- bs
- void flushBufferedContent()
void finishResponse()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |