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 voiddoHandleResponse(org.apache.http.HttpResponse response)protected voiddoSend(org.apache.http.client.HttpClient client, URI url, File file)protected voiddoSend(org.apache.http.client.HttpClient client, URI url, File input, String contentType)protected voiddoSendAsPost(org.apache.http.client.HttpClient client, URI url, File input, String contentType)protected voiddoSendAsPostMultipart(org.apache.http.client.HttpClient client, URI url, File input, String contentType)protected voiddoSendAsPut(org.apache.http.client.HttpClient client, URI url, File input, String contentType)AbstractTransportRequest[]getChildRequests()StringgetTitle()voidsend(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:
getChildRequestsin classAbstractTransportRequest<HttpTransport>
-
getTitle
public String getTitle()
- Specified by:
getTitlein classAbstractTransportRequest<HttpTransport>
-
send
public void send(ExportContext context, ImmoToolTask.Callback callback) throws AbstractTransportRequest.TransferException
- Specified by:
sendin classAbstractTransportRequest<HttpTransport>- Throws:
AbstractTransportRequest.TransferException
-
-