public static class HttpTransport.Request extends AbstractTransportRequest<HttpTransport>
AbstractTransportRequest.TransferException| Constructor and Description |
|---|
HttpTransport.Request(HttpTransport transport,
File exportFile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doHandleResponse(org.apache.http.HttpResponse response) |
protected void |
doSend(org.apache.http.client.HttpClient client,
URL url,
File file) |
protected void |
doSend(org.apache.http.client.HttpClient client,
URL url,
InputStream input,
String fileName) |
protected void |
doSendAsPost(org.apache.http.client.HttpClient client,
URL url,
InputStream input,
String fileName) |
protected void |
doSendAsPostMultipart(org.apache.http.client.HttpClient client,
URL url,
InputStream input,
String fileName) |
protected void |
doSendAsPut(org.apache.http.client.HttpClient client,
URL url,
InputStream input,
String fileName) |
AbstractTransportRequest[] |
getChildRequests() |
String |
getTitle() |
void |
send(ExportContext context,
ImmoToolTask.Callback callback) |
buildFileList, getTransportpublic HttpTransport.Request(HttpTransport transport, File exportFile)
protected void doHandleResponse(org.apache.http.HttpResponse response)
throws IOException
IOExceptionprotected final void doSend(org.apache.http.client.HttpClient client,
URL url,
File file)
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionprotected final void doSend(org.apache.http.client.HttpClient client,
URL url,
InputStream input,
String fileName)
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionprotected void doSendAsPost(org.apache.http.client.HttpClient client,
URL url,
InputStream input,
String fileName)
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionprotected void doSendAsPostMultipart(org.apache.http.client.HttpClient client,
URL url,
InputStream input,
String fileName)
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionprotected void doSendAsPut(org.apache.http.client.HttpClient client,
URL url,
InputStream input,
String fileName)
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionpublic AbstractTransportRequest[] getChildRequests()
getChildRequests in class AbstractTransportRequest<HttpTransport>public String getTitle()
getTitle in class AbstractTransportRequest<HttpTransport>public void send(ExportContext context, ImmoToolTask.Callback callback) throws AbstractTransportRequest.TransferException
send in class AbstractTransportRequest<HttpTransport>AbstractTransportRequest.TransferExceptionCopyright © 2015 OpenEstate. All rights reserved.