|
Sun Adapter for HTTP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.appconn.webservice.http.HTTPWebResult
public class HTTPWebResult
PersistableData
Constructor Summary | |
---|---|
HTTPWebResult()
|
Method Summary | |
---|---|
byte[] |
getBinaryResult()
Gets the HTTP binary body result. |
HTTPWebHeaderList |
getHeaders()
Gets the HTTP header list. |
boolean |
getIsTextResult()
Gets the flag which determines whether the result is text. |
int |
getResponseCode()
Gets the HTTP status code. |
java.lang.String |
getResponseMessage()
Gets the HTTP response message. |
java.lang.String |
getTextResult()
Gets the HTTP text body result. |
void |
persist(com.stc.connector.persistence.bpel.DataOutput dos)
Persists (serialize) this message. |
void |
restore(com.stc.connector.persistence.bpel.DataInput dis)
Restore (deserialize) this message. |
void |
setBinaryResult(byte[] binaryResult)
Sets the HTTP binary body result. |
void |
setHeaders(HTTPWebHeaderList headers)
Sets the HTTP header list. |
void |
setIsTextResult(boolean isTextResult)
Sets the flag which determines whether the result is text. |
void |
setResponseCode(int i)
Sets the HTTP status code. |
void |
setResponseMessage(java.lang.String responseMessage)
Sets the HTTP response message. |
void |
setTextResult(java.lang.String textResult)
Sets the HTTP text body result. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTTPWebResult()
Method Detail |
---|
public int getResponseCode()
public void setResponseCode(int i)
i
- The HTTP status code.public java.lang.String getResponseMessage()
public void setResponseMessage(java.lang.String responseMessage)
responseMessage
- The HTTP response message.public void setIsTextResult(boolean isTextResult)
isTextResult
- True if text result; false otherwise.public boolean getIsTextResult()
public java.lang.String getTextResult()
public void setTextResult(java.lang.String textResult)
textResult
- The HTTP text body result.public byte[] getBinaryResult()
public void setBinaryResult(byte[] binaryResult)
binaryResult
- The HTTP binary body result.public HTTPWebHeaderList getHeaders()
public void setHeaders(HTTPWebHeaderList headers)
headers
- An instance of HTTPWebHeaderList.public void persist(com.stc.connector.persistence.bpel.DataOutput dos) throws java.lang.Exception
persist
in interface com.stc.connector.persistence.bpel.PersistableData
dos
- The DataOutputStream to which the Java Bean
message is persisted.
java.lang.Exception
- upon error.public void restore(com.stc.connector.persistence.bpel.DataInput dis) throws java.lang.Exception
restore
in interface com.stc.connector.persistence.bpel.PersistableData
dis
- The DataInputStream from which the Java Bean
message is restored.
java.lang.Exception
- upon error.
|
Sun Adapter for HTTP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |