|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.http.HttpServletResponse
public class HttpServletResponse
Provides HTTP-specific functionality for sending a response.
The servlet container (the abstract HttpServer on lejos)
creates an HttpServletRequest object
and passes it as an argument to the servlet's service method:
(doGet.
| Constructor Summary | |
|---|---|
HttpServletResponse(OutputStream os)
Creates the Servlet Response object |
|
| Method Summary | |
|---|---|
OutputStream |
getOutputStream()
Returns an OutputStream for writing the response |
void |
setContentType(String type)
Set the Content Type. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
| Constructor Detail |
|---|
public HttpServletResponse(OutputStream os)
| Method Detail |
|---|
public OutputStream getOutputStream()
public void setContentType(String type)
throws IOException
type - the Mime type, usually text/html
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||