|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.ethz.mxquery.model.ws.HttpMessage
public class HttpMessage
Represents a HTTP message without request or response starting.
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String name,
java.lang.String value)
Adds an attribute to this HTTP message. |
java.lang.String |
getAttribute(java.lang.String name)
Gets the value of an HTTP attribute |
java.lang.String |
getHttpContent()
Returns the content of this message. |
java.lang.String |
getHttpMsg()
Gets this HTTP message as a String |
int |
getLengthAttributeValue()
Returns the declared content length (Http Header). |
java.lang.String |
getSoapBody()
Gets the SOAP body of the content of this message. |
static java.lang.String |
getSoapBody(java.lang.String soap)
|
void |
setHttpContent(java.lang.String httpContent)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getAttribute(java.lang.String name)
name - name of a HTTP attribute
public int getLengthAttributeValue()
public void addAttribute(java.lang.String name,
java.lang.String value)
name - value - public java.lang.String getHttpContent()
public void setHttpContent(java.lang.String httpContent)
public java.lang.String getSoapBody()
throws java.io.IOException
IOException, - if the content doesn't contain SOAP
java.io.IOException
public static java.lang.String getSoapBody(java.lang.String soap)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getHttpMsg()
|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||