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) |
getTransport
public Request(HttpTransport transport, File exportFile)
protected void doHandleResponse(org.apache.http.HttpResponse response) throws IOException
IOException
protected final void doSend(org.apache.http.client.HttpClient client, URI url, File file) throws IOException
IOException
protected final void doSend(org.apache.http.client.HttpClient client, URI url, File input, String contentType) throws IOException
IOException
protected void doSendAsPost(org.apache.http.client.HttpClient client, URI url, File input, String contentType) throws IOException
IOException
protected void doSendAsPostMultipart(org.apache.http.client.HttpClient client, URI url, File input, String contentType) throws IOException
IOException
protected void doSendAsPut(org.apache.http.client.HttpClient client, URI url, File input, String contentType) throws IOException
IOException
public 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.TransferException
Copyright © 2019 OpenEstate. All rights reserved.