|
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.HTTPWebRequest
public class HTTPWebRequest
Http web request wrapper.
Constructor Summary | |
---|---|
HTTPWebRequest()
Default constructor. |
Method Summary | |
---|---|
byte[] |
getByteRequestBody()
Gets the byte array body content. |
HTTPWebContentTypeList |
getContentTypes()
Gets the HTTP content-type header values. |
HTTPWebHeaderList |
getHeaders()
Gets the HTTP headers. |
HTTPWebParameterList |
getParameters()
Gets the HTTP parameters. |
java.lang.String |
getStringRequestBody()
Gets the text body content. |
java.lang.String |
getUrl()
Get the URL. |
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 |
setByteRequestBody(byte[] body)
Sets the byte array body content. |
void |
setContentTypes(HTTPWebContentTypeList contentTypes)
Sets the HTTP content-type header values. |
void |
setHeaders(HTTPWebHeaderList headers)
Set the HTTP headers. |
void |
setParameters(HTTPWebParameterList parameters)
Sets the HTTP parameters for form-data. |
void |
setStringRequestBody(java.lang.String body)
Sets the text body content. |
void |
setUrl(java.lang.String url)
Set the URL. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTTPWebRequest()
Method Detail |
---|
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- The URL string.public void setHeaders(HTTPWebHeaderList headers)
headers
- An instance of HTTPWebHeaderListpublic HTTPWebHeaderList getHeaders()
public void setContentTypes(HTTPWebContentTypeList contentTypes)
contentTypes
- An instance of HTTPWebContentTypeListpublic HTTPWebContentTypeList getContentTypes()
public void setParameters(HTTPWebParameterList parameters)
parameters
- An instance of HTTPWebParameterListpublic HTTPWebParameterList getParameters()
public void setByteRequestBody(byte[] body)
body
- An HTTP body content byte array.public byte[] getByteRequestBody()
public void setStringRequestBody(java.lang.String body)
body
- A text body content.public java.lang.String getStringRequestBody()
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 |