|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.html.WebPage
Parent class for htmlKona page objects. The methods in this class set attributes for a WebPage, specifically header information.
AudioPage
,
HtmlPage
,
ImagePage
,
PlainPage
Field Summary | |
protected java.lang.String |
allow
Deprecated. |
protected java.lang.String |
codeset
Deprecated. |
protected java.lang.String |
contentbuf
Deprecated. |
protected java.lang.String |
contentencoding
Deprecated. |
protected int |
contentlength
Deprecated. |
protected java.lang.String |
contents
Deprecated. |
protected java.lang.String |
contenttype
Deprecated. |
protected java.lang.String |
expires
Deprecated. |
protected java.lang.String |
lastmodified
Deprecated. |
protected java.lang.String |
location
Deprecated. |
protected java.lang.String |
pragma
Deprecated. |
protected java.lang.String |
referer
Deprecated. |
protected java.lang.String |
server
Deprecated. |
Constructor Summary | |
WebPage()
Deprecated. |
Method Summary | |
java.lang.String |
allow()
Deprecated. Gets the allow information for a WebPage. |
void |
allow(java.lang.String allow)
Deprecated. Sets the allow information for a WebPage to the specified string. |
java.lang.String |
contentBuf()
Deprecated. Gets miscellaneous response-header strings. |
void |
contentBuf(java.lang.String str)
Deprecated. Sets miscellaneous response-header strings. |
java.lang.String |
contentEncoding()
Deprecated. Gets the content encoding for a WebPage. |
void |
contentEncoding(java.lang.String encoding)
Deprecated. Sets the content encoding for a WebPage to the specified string. |
int |
contentLength()
Deprecated. Gets the content-length for a WebPage. |
void |
contentLength(int len)
Deprecated. Sets the content-length information for a WebPage to the specified length. |
java.lang.String |
contents()
Deprecated. Gets the contents of the page. |
void |
contents(java.lang.String str)
Deprecated. Sets the contents of the page. |
java.lang.String |
contentType()
Deprecated. Returns the content type of a WebPage. |
void |
contentType(java.lang.String contenttype)
Deprecated. Sets the content type of a WebPage to the specified string. |
java.lang.String |
expires()
Deprecated. Gets the HTTP-EQUIV=Expires information for a WebPage. |
void |
expires(java.lang.String expiry)
Deprecated. Sets the HTTP expiry date for a WebPage. |
WebPage |
includeHeader(boolean httpinfo)
Deprecated. |
java.lang.String |
lastModified()
Deprecated. Gets the last modified information for a WebPage. |
void |
lastModified(java.lang.String modified)
Deprecated. Sets the last modified information for a WebPage. |
java.lang.String |
location()
Deprecated. Gets the location information for a WebPage. |
void |
location(java.lang.String location)
Deprecated. Sets the location information for a WebPage to the specified string. |
void |
output()
Deprecated. Outputs a WebPage to System.out. |
void |
output(java.io.OutputStream out)
Deprecated. Outputs a WebPage to the specified output stream. |
void |
output(java.io.OutputStream out,
java.lang.String codeset)
Deprecated. Outputs a WebPage to the specified output stream. |
void |
output(java.lang.String codeset)
Deprecated. Outputs a WebPage to System.out. |
java.lang.String |
pragma()
Deprecated. Gets the pragma information for a WebPage. |
void |
pragma(java.lang.String pragma)
Deprecated. Sets the pragma information for a WebPage to the specified string. |
java.lang.String |
referer()
Deprecated. Gets the referer URL for a WebPage. |
void |
referer(java.lang.String ref)
Deprecated. Sets the referer information for a WebPage to the specified string. |
java.lang.String |
server()
Deprecated. Gets the server information for a WebPage. |
void |
server(java.lang.String server)
Deprecated. Sets the server information for a WebPage to the specified string. |
WebPage |
setClientPull(java.lang.String url,
int val)
Deprecated. Superceded in 2.1 by MetaElement(refreshrate, url). |
WebPage |
setClientPull(java.lang.String url,
java.lang.String str)
Deprecated. Sets the HTTP-EQUIV refresh rate to the specified interval and references the specified url. |
void |
setCodeset(java.lang.String codeset)
Deprecated. Sets the codeset that data is written in |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.String contenttype
protected java.lang.String contentbuf
protected java.lang.String expires
protected java.lang.String lastmodified
protected java.lang.String contentencoding
protected java.lang.String allow
protected java.lang.String location
protected java.lang.String pragma
protected java.lang.String referer
protected java.lang.String server
protected int contentlength
protected java.lang.String contents
protected java.lang.String codeset
Constructor Detail |
public WebPage()
Method Detail |
public void setCodeset(java.lang.String codeset)
public WebPage setClientPull(java.lang.String url, int val)
public WebPage includeHeader(boolean httpinfo)
public WebPage setClientPull(java.lang.String url, java.lang.String str)
public java.lang.String contentType()
public void contentType(java.lang.String contenttype)
contenttype
- Stringpublic java.lang.String expires()
public void expires(java.lang.String expiry)
expiry
- Stringpublic java.lang.String lastModified()
public void lastModified(java.lang.String modified)
modified
- String (format as an IETF date)public java.lang.String contentEncoding()
public void contentEncoding(java.lang.String encoding)
encoding
- Stringpublic java.lang.String allow()
public void allow(java.lang.String allow)
allow
- Stringpublic java.lang.String location()
public void location(java.lang.String location)
location
- String locationpublic java.lang.String pragma()
public void pragma(java.lang.String pragma)
pragma
- String pragmapublic java.lang.String referer()
public void referer(java.lang.String ref)
ref
- String referer infopublic java.lang.String server()
public void server(java.lang.String server)
server
- String serverpublic int contentLength()
public void contentLength(int len)
len
- Content lengthpublic java.lang.String contentBuf()
public void contentBuf(java.lang.String str)
public void contents(java.lang.String str)
public java.lang.String contents()
public void output() throws java.io.IOException
public void output(java.lang.String codeset) throws java.io.IOException
public void output(java.io.OutputStream out) throws java.io.IOException
out
- OutputStreampublic void output(java.io.OutputStream out, java.lang.String codeset) throws java.io.IOException
out
- OutputStreamString
- Java String
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |