public static class HttpTransport.Request extends AbstractTransportRequest<HttpTransport>
AbstractTransportRequest.TransferException| Constructor and Description |
|---|
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,
URI url,
File file) |
protected void |
doSend(org.apache.http.client.HttpClient client,
URI url,
File input,
String contentType) |
protected void |
doSendAsPost(org.apache.http.client.HttpClient client,
URI url,
File input,
String contentType) |
protected void |
doSendAsPostMultipart(org.apache.http.client.HttpClient client,
URI url,
File input,
String contentType) |
protected void |
doSendAsPut(org.apache.http.client.HttpClient client,
URI url,
File input,
String contentType) |
AbstractTransportRequest[] |
getChildRequests() |
String |
getTitle() |
void |
send(ExportContext context,
ImmoToolTask.Callback callback) |
getTransportpublic 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,
URI url,
File file)
throws IOException
IOExceptionprotected final void doSend(org.apache.http.client.HttpClient client,
URI url,
File input,
String contentType)
throws IOException
IOExceptionprotected void doSendAsPost(org.apache.http.client.HttpClient client,
URI url,
File input,
String contentType)
throws IOException
IOExceptionprotected void doSendAsPostMultipart(org.apache.http.client.HttpClient client,
URI url,
File input,
String contentType)
throws IOException
IOExceptionprotected void doSendAsPut(org.apache.http.client.HttpClient client,
URI url,
File input,
String contentType)
throws IOException
IOExceptionpublic 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 © 2019 OpenEstate. All rights reserved.