|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.federation.FederatedHttpMessage
public class FederatedHttpMessage
Represents an HTTP protocol request or response message.
Supported API: true
Extendable: false
| Constructor Summary | |
|---|---|
FederatedHttpMessage()
Constructor returning an instance initialized with an empty set of headings and a null body. |
|
FederatedHttpMessage(FederatedHttpInputStream inputStream)
Constructor returning an instance initialized with the results of reading and parsing a specified input stream. |
|
| Method Summary | |
|---|---|
void |
addHeading(String line)
Parses and adds the specified line to the set of HTTP message headings. |
void |
addHeading(String keyword,
String value)
Adds the specified keyword/value pair to the set of HTTP message headings. |
Date |
getDateHeading(String keyword)
Returns the specified date heading from the heading vector. |
String |
getHeading(String keyword)
Returns the specified heading from the heading vector. |
void |
removeHeading(String keyword)
Removes the specified heading from the set of HTTP message headings. |
void |
writeTo(OutputStream outputStream)
Writes the HTTP message as a MIME object to the specified output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FederatedHttpMessage()
throws WTPropertyVetoException
WTPropertyVetoException
public FederatedHttpMessage(FederatedHttpInputStream inputStream)
throws WTPropertyVetoException,
wt.federation.FederationServicesException
inputStream -
WTPropertyVetoException
wt.federation.FederationServicesException| Method Detail |
|---|
public void addHeading(String line)
throws WTPropertyVetoException
line -
WTPropertyVetoException
public void addHeading(String keyword,
String value)
throws WTPropertyVetoException
keyword - value -
WTPropertyVetoExceptionpublic String getHeading(String keyword)
keyword -
public Date getDateHeading(String keyword)
keyword -
public void removeHeading(String keyword)
keyword -
public void writeTo(OutputStream outputStream)
throws wt.federation.FederationServicesException
outputStream -
wt.federation.FederationServicesException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||