Class HttpTransport.Request
- java.lang.Object
-
- com.openindex.openestate.tool.agency.export.AbstractTransportRequest<HttpTransport>
-
- com.openindex.openestate.tool.agency.export.HttpTransport.Request
-
- Enclosing class:
- HttpTransport
public static class HttpTransport.Request extends AbstractTransportRequest<HttpTransport>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openindex.openestate.tool.agency.export.AbstractTransportRequest
AbstractTransportRequest.TransferException
-
-
Constructor Summary
Constructors Constructor Description Request(HttpTransport transport, File exportFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class com.openindex.openestate.tool.agency.export.AbstractTransportRequest
getTransport
-
-
-
-
Constructor Detail
-
Request
public Request(HttpTransport transport, File exportFile)
-
-
Method Detail
-
doHandleResponse
protected void doHandleResponse(org.apache.http.HttpResponse response) throws IOException
- Throws:
IOException
-
doSend
protected final void doSend(org.apache.http.client.HttpClient client, URI url, File file) throws IOException
- Throws:
IOException
-
doSend
protected final void doSend(org.apache.http.client.HttpClient client, URI url, File input, String contentType) throws IOException
- Throws:
IOException
-
doSendAsPost
protected void doSendAsPost(org.apache.http.client.HttpClient client, URI url, File input, String contentType) throws IOException
- Throws:
IOException
-
doSendAsPostMultipart
protected void doSendAsPostMultipart(org.apache.http.client.HttpClient client, URI url, File input, String contentType) throws IOException
- Throws:
IOException
-
doSendAsPut
protected void doSendAsPut(org.apache.http.client.HttpClient client, URI url, File input, String contentType) throws IOException
- Throws:
IOException
-
getChildRequests
public AbstractTransportRequest[] getChildRequests()
- Specified by:
getChildRequests
in classAbstractTransportRequest<HttpTransport>
-
getTitle
public String getTitle()
- Specified by:
getTitle
in classAbstractTransportRequest<HttpTransport>
-
send
public void send(ExportContext context, ImmoToolTask.Callback callback) throws AbstractTransportRequest.TransferException
- Specified by:
send
in classAbstractTransportRequest<HttpTransport>
- Throws:
AbstractTransportRequest.TransferException
-
-