| java.lang.Object org.w3c.www.http.HttpMessage org.w3c.www.http.HttpEntityMessage
All known Subclasses: org.w3c.www.http.HttpReplyMessage, org.w3c.www.http.HttpRequestMessage,
H_ALLOW | public static int H_ALLOW(Code) | | |
H_CONTENT_BASE | public static int H_CONTENT_BASE(Code) | | |
H_CONTENT_ENCODING | public static int H_CONTENT_ENCODING(Code) | | |
H_CONTENT_LANGUAGE | public static int H_CONTENT_LANGUAGE(Code) | | |
H_CONTENT_LENGTH | public static int H_CONTENT_LENGTH(Code) | | |
H_CONTENT_LOCATION | public static int H_CONTENT_LOCATION(Code) | | |
H_CONTENT_MD5 | public static int H_CONTENT_MD5(Code) | | |
H_CONTENT_RANGE | public static int H_CONTENT_RANGE(Code) | | |
H_CONTENT_TYPE | public static int H_CONTENT_TYPE(Code) | | |
H_ETAG | public static int H_ETAG(Code) | | |
H_EXPIRES | public static int H_EXPIRES(Code) | | |
H_LAST_MODIFIED | public static int H_LAST_MODIFIED(Code) | | |
HttpEntityMessage | public HttpEntityMessage()(Code) | | |
addContentEncoding | public void addContentEncoding(String name)(Code) | | Add an encoding token to the given reply stream (ie the body).
Parameters: name - The name of the encoding to add. |
getAllow | public String[] getAllow()(Code) | | Get the message's entity allowed methods.
The list of allowed methods, encoded as a String array, ornull if undefined. |
getContentBase | public String getContentBase()(Code) | | Get this message entity base.
A String encoding the content base, or nullif undefined. |
getContentEncoding | public String[] getContentEncoding()(Code) | | Get this message entity encoding.
A list of encoding tokens, encoded as a String array, or null if undefined. |
getContentLanguage | public String[] getContentLanguage()(Code) | | Get this message entity content language.
A list of languages token, encoded as a String arry, ornull if undefined. |
getContentLength | public int getContentLength()(Code) | | Get the content length of the message.
The content length for the message entity, or -1 if undefined. |
getContentLocation | public String getContentLocation()(Code) | | Get the attached entity's content location.
A String encoded value of the content location, or null if undefined. |
getContentMD5 | public String getContentMD5()(Code) | | Get the entity's content MD5 checksum.
A String giving the base64 encoded MD% checksun on theentity body, or null if undefined. |
getContentRange | public HttpContentRange getContentRange()(Code) | | Get the range descriptor of the attached entity.
An HttpRange instance, describing the part of the fullentity body being transmited, or null if undefined. |
getContentType | public MimeType getContentType()(Code) | | Get the entity MIME type.
An HttpMimeType object describing the entity's type, or null if udefined. |
getETag | public HttpEntityTag getETag()(Code) | | Get this entity tag.
An HttpEntityTag instance describing this entity tag. |
getExpires | public long getExpires()(Code) | | Get this message's entity expires date.
A long giving the date as the number of milliseconds since theJava epoch, or -1 if undefined. |
getLastModified | public long getLastModified()(Code) | | Get the message's associated entity last modified time.
A long giving the date as the number of milliseconds sinceJava epoch, or -1 if undefined. |
hasContentRange | public boolean hasContentRange()(Code) | | Is this entity only a partial entity ?
A boolean, indicating if a Content-Range headerwas present. |
setAllow | public void setAllow(String mth)(Code) | | Set this message's entity allowed methods.
Parameters: mth - A list of allowed methods, encoded as a String array, ornull to reset the value. |
setContentBase | public void setContentBase(String base)(Code) | | Set this message entity content base.
Parameters: base - The base for the entity, encoded as a String, ornull to reset the value. |
setContentEncoding | public void setContentEncoding(String encodings)(Code) | | Set this message entity content encoding.
Parameters: encodings - A list of encoding tokens, encoded as a String arrayor null to reset the value. |
setContentLanguage | public void setContentLanguage(String languages)(Code) | | Set this message entity content language.
Parameters: languages - The language tokens for this entity, encoded asa String array, or null to reset the value. |
setContentLength | public void setContentLength(int length)(Code) | | Set this message entity content-length.
Parameters: length - The new content length for this message, or-1 to reset the value. |
setContentLocation | public void setContentLocation(String location)(Code) | | Set the entity's content location.
Parameters: location - The String encoding the content location for the attached entity, or null to reset the value. |
setContentMD5 | public void setContentMD5(String md5)(Code) | | Set the entity's content MD5 checksum.
Parameters: md5 - The new base64 encoded checksum for the entity body, ornull to reset the value. |
setContentType | public void setContentType(MimeType type)(Code) | | Set the entity MIME type.
Parameters: type - The entity MIME type, or null to unsetthe entity's content type. |
setETag | public void setETag(HttpEntityTag tag)(Code) | | Set this entity tag.
Parameters: tag - The new entity tag, or null to reset thevalue. |
setExpires | public void setExpires(long date)(Code) | | Se the message's associated entity exxpires date.
Parameters: date - The date as the number of milliseconds since Java epoch,or -1 to reset the value. |
setLastModified | public void setLastModified(long date)(Code) | | Set the message's entity header last-modified time.
Parameters: date - The date of last modification, as the number of millisecondssince Java epoch, or -1 to reset the value. |
Methods inherited from org.w3c.www.http.HttpMessage | public void addConnection(String name)(Code)(Java Doc) public void addNoCache(String name)(Code)(Java Doc) public void addPragma(String name)(Code)(Java Doc) public void addProxyConnection(String name)(Code)(Java Doc) public void addTransferEncoding(String name)(Code)(Java Doc) public void addVia(String via)(Code)(Java Doc) public boolean checkNoStore()(Code)(Java Doc) public boolean checkOnlyIfCached()(Code)(Java Doc) public void delState(String name)(Code)(Java Doc) public void dump(OutputStream out)(Code)(Java Doc) public void emit(OutputStream out) throws IOException(Code)(Java Doc) public void emit(OutputStream out, int what) throws IOException(Code)(Java Doc) protected void emitHeaders(OutputStream out, int what) throws IOException(Code)(Java Doc) protected void endEmit(OutputStream out, int what) throws IOException(Code)(Java Doc) public Enumeration enumerateHeaderDescriptions(boolean all)(Code)(Java Doc) public Enumeration enumerateHeaderDescriptions()(Code)(Java Doc) protected synchronized String generateExtNamespace()(Code)(Java Doc) public String getCManExtHeader(String ext, String header)(Code)(Java Doc) public String getCOptExtHeader(String ext, String header)(Code)(Java Doc) public HttpCacheControl getCacheControl()(Code)(Java Doc) public HttpMessage getClone()(Code)(Java Doc) public String[] getConnection()(Code)(Java Doc) public HttpCookieList getCookie()(Code)(Java Doc) public long getDate()(Code)(Java Doc) public HttpMessage getDeeperClone()(Code)(Java Doc) public long getEmitDate()(Code)(Java Doc) public String getExtHeader(String ext, String header)(Code)(Java Doc) public HttpExtList getExtList(String id)(Code)(Java Doc) public Dictionary getExtensionHeaders(HttpExt ext)(Code)(Java Doc) public HeaderValue getHeaderValue(String name, HeaderValue def)(Code)(Java Doc) final public HeaderValue getHeaderValue(String name)(Code)(Java Doc) final public HeaderValue getHeaderValue(int idx)(Code)(Java Doc) public HeaderValue getHeaderValue(HeaderDescription d)(Code)(Java Doc) public HttpExtList getHttpCManExtDecl()(Code)(Java Doc) public HttpExtList getHttpCOptExtDecl()(Code)(Java Doc) public HttpExtList getHttpManExtDecl()(Code)(Java Doc) public HttpExtList getHttpOptExtDecl()(Code)(Java Doc) public short getMajorVersion()(Code)(Java Doc) public String getManExtHeader(String ext, String header)(Code)(Java Doc) public int getMaxAge()(Code)(Java Doc) public short getMinorVersion()(Code)(Java Doc) public String[] getNoCache()(Code)(Java Doc) public String getOptExtHeader(String ext, String header)(Code)(Java Doc) public String[] getPragma()(Code)(Java Doc) public HttpBag getProtocol()(Code)(Java Doc) public HttpBag getProtocolInfo()(Code)(Java Doc) public HttpBag getProtocolQuery()(Code)(Java Doc) public HttpBag getProtocolRequest()(Code)(Java Doc) public String[] getProxyConnection()(Code)(Java Doc) public int getSMaxAge()(Code)(Java Doc) public HttpSetCookieList getSetCookie()(Code)(Java Doc) public Object getState(String name)(Code)(Java Doc) public Enumeration getStateNames()(Code)(Java Doc) public String[] getTrailer()(Code)(Java Doc) public String[] getTransferEncoding()(Code)(Java Doc) public String[] getUpgrade()(Code)(Java Doc) public String getValue(String name)(Code)(Java Doc) public String getValue(HeaderDescription d)(Code)(Java Doc) public String getVersion()(Code)(Java Doc) public String[] getVia()(Code)(Java Doc) public boolean hasConnection(String tok)(Code)(Java Doc) public boolean hasHeader(String name)(Code)(Java Doc) public boolean hasHeader(int idx)(Code)(Java Doc) public boolean hasPragma(String pragma)(Code)(Java Doc) public boolean hasProxyConnection(String tok)(Code)(Java Doc) public boolean hasState(String name)(Code)(Java Doc) public boolean hasTransferEncoding(String encoding)(Code)(Java Doc) public boolean notifyBeginParsing(MimeParser parser) throws HttpParserException, IOException(Code)(Java Doc) public void notifyEndParsing(MimeParser parser) throws HttpParserException, IOException(Code)(Java Doc) public void notifyHeader(String name, byte buf, int off, int len)(Code)(Java Doc) final public static void registerExtHeader(String name, String cls)(Code)(Java Doc) final protected static void registerHeader(String name, String cls)(Code)(Java Doc) final protected static void registerHeader(String name, String c, int i)(Code)(Java Doc) public void removeHeader(String name)(Code)(Java Doc) final public void removeHeader(int idx)(Code)(Java Doc) public void setCacheControl(HttpCacheControl control)(Code)(Java Doc) public void setConnection(String tokens)(Code)(Java Doc) public void setCookie(HttpCookieList cookie)(Code)(Java Doc) public void setDate(long date)(Code)(Java Doc) public void setEnd2EndExtensionAcknowledgmentHeader()(Code)(Java Doc) public synchronized void setExtensionHeader(HttpExt ext, String name, String value)(Code)(Java Doc) public void setHeaderValue(String name, HeaderValue value)(Code)(Java Doc) public void setHeaderValue(HeaderDescription d, HeaderValue v)(Code)(Java Doc) final public void setHeaderValue(int idx, HeaderValue value)(Code)(Java Doc) public void setHopByHopExtensionAcknowledgmentHeader()(Code)(Java Doc) public void setHttpCManExtDecl(HttpExtList exts)(Code)(Java Doc) public void setHttpCOptExtDecl(HttpExtList exts)(Code)(Java Doc) public void setHttpExtDecl(HttpExtList exts)(Code)(Java Doc) public void setHttpManExtDecl(HttpExtList exts)(Code)(Java Doc) public void setHttpOptExtDecl(HttpExtList exts)(Code)(Java Doc) public void setMaxAge(int maxage)(Code)(Java Doc) protected void setNamespaces(HttpExtList extl)(Code)(Java Doc) public void setNoCache(String nocache)(Code)(Java Doc) public void setNoCache()(Code)(Java Doc) public void setNoStore(boolean onoff)(Code)(Java Doc) public void setOnlyIfCached(boolean onoff)(Code)(Java Doc) public void setPragma(String tokens)(Code)(Java Doc) public void setProtocol(HttpBag bag)(Code)(Java Doc) public void setProtocolInfo(HttpBag bag)(Code)(Java Doc) public void setProtocolQuery(HttpBag bag)(Code)(Java Doc) public void setProtocolRequest(HttpBag bag)(Code)(Java Doc) public void setProxyConnection(String tokens)(Code)(Java Doc) public void setSMaxAge(int smaxage)(Code)(Java Doc) public void setSetCookie(HttpSetCookieList setcookie)(Code)(Java Doc) public void setState(String name, Object value)(Code)(Java Doc) public void setTrailer(String trailers)(Code)(Java Doc) public void setTransferEncoding(String tokens)(Code)(Java Doc) public void setUpgrade(String products)(Code)(Java Doc) public void setValue(String name, String strval)(Code)(Java Doc) public void setVia(String vias)(Code)(Java Doc) protected void startEmit(OutputStream out, int what) throws IOException(Code)(Java Doc)
|
|
|