Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.huihoo.jfox.jmx.adaptor.http
Class HttpResponse

    java.lang.Object
      |
      +--org.huihoo.jfox.jmx.adaptor.http.HttpResponse

public class HttpResponse
extends java.lang.Object

Author:
  Young Yang

Constructor Summary
`HttpResponse(HttpRequest req)`

Method Summary
`void` | `addHeader(java.lang.String name, java.lang.String value)`
`java.lang.String` | `output()` output the web page
`void` | `setContentType(java.lang.String type)`
`void` | `setHeader(java.lang.String name, java.lang.String value)`
`void` | `setStatus(int status)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HttpResponse

    public HttpResponse(HttpRequest req)

Method Detail

### setHeader

    public void setHeader(java.lang.String name,
                          java.lang.String value)

### addHeader

    public void addHeader(java.lang.String name,
                          java.lang.String value)

### setStatus

    public void setStatus(int status)

### output

    public java.lang.String output()
                            throws java.lang.Exception

  output the web page

### setContentType

    public void setContentType(java.lang.String type)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD