public class HrefRequestBody extends HttpRequestBody
| Constructor and Description |
|---|
HrefRequestBody(org.expath.tools.model.Element elem)
TODO: Check there is no other attributes (only @src and @media-type)...
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMultipart() |
void |
serialize(java.io.OutputStream out) |
void |
setHeaders(HeaderSet headers) |
getBodyElement, getContentTypepublic HrefRequestBody(org.expath.tools.model.Element elem)
throws HttpClientException
elem - the request body elementHttpClientException - if the request body element is invalidpublic boolean isMultipart()
isMultipart in class HttpRequestBodypublic void setHeaders(HeaderSet headers) throws HttpClientException
setHeaders in class HttpRequestBodyHttpClientExceptionpublic void serialize(java.io.OutputStream out)
throws HttpClientException
serialize in class HttpRequestBodyHttpClientExceptionCopyright © 2015-2020 EXPath. All Rights Reserved