org.xmlBlaster.util.http
Class HttpResponse
java.lang.Object
org.xmlBlaster.util.http.HttpResponse
public class HttpResponse
- extends java.lang.Object
Used for returning the HTML page and mime type of a HTTP request.
- Author:
- Marcel Ruff.
Field Summary |
(package private) byte[] |
content
|
(package private) java.lang.String |
mimeType
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
byte[] content
mimeType
java.lang.String mimeType
HttpResponse
public HttpResponse(java.lang.String text)
HttpResponse
public HttpResponse(java.lang.String text,
java.lang.String mimeType)
HttpResponse
public HttpResponse(byte[] content)
HttpResponse
public HttpResponse(byte[] content,
java.lang.String mimeType)
setMimeType
public void setMimeType(java.lang.String mimeType)
getMimeType
public java.lang.String getMimeType()
getContent
public byte[] getContent()
getContentStr
public java.lang.String getContentStr()
Copyright © 1999-2014 The xmlBlaster.org contributers.