net.csdn.modules.transport
Interface HttpTransportService

All Known Implementing Classes:
DefaultHttpTransportService

public interface HttpTransportService

BlogInfo: WilliamZhu Date: 12-5-29 Time: 下午5:09


Nested Class Summary
static class HttpTransportService.SResponse
           
 
Method Summary
 FutureTask<HttpTransportService.SResponse> asyncHttp(net.csdn.common.path.Url url, String jsonData, RestRequest.Method method)
           
 List<HttpTransportService.SResponse> asyncHttps(List<net.csdn.common.path.Url> urls, String jsonData, RestRequest.Method method)
           
 void header(String header, String value)
           
 HttpTransportService.SResponse http(net.csdn.common.path.Url url, String jsonData, Map<String,String> headers, RestRequest.Method method)
           
 HttpTransportService.SResponse http(net.csdn.common.path.Url url, String jsonData, Map<String,String> headers, RestRequest.Method method, int timeout)
           
 HttpTransportService.SResponse http(net.csdn.common.path.Url url, String jsonData, RestRequest.Method method)
           
 HttpTransportService.SResponse http(net.csdn.common.path.Url url, String jsonData, RestRequest.Method method, int timeout)
           
 HttpTransportService.SResponse post(net.csdn.common.path.Url url, Map data)
           
 HttpTransportService.SResponse post(net.csdn.common.path.Url url, Map data, int timeout)
           
 HttpTransportService.SResponse post(net.csdn.common.path.Url url, Map data, Map<String,String> headers)
           
 HttpTransportService.SResponse post(net.csdn.common.path.Url url, Map data, Map<String,String> headers, int timeout)
           
 HttpTransportService.SResponse put(net.csdn.common.path.Url url, Map data)
           
 HttpTransportService.SResponse put(net.csdn.common.path.Url url, Map data, Map<String,String> headers)
           
 

Method Detail

post

HttpTransportService.SResponse post(net.csdn.common.path.Url url,
                                    Map data)

post

HttpTransportService.SResponse post(net.csdn.common.path.Url url,
                                    Map data,
                                    Map<String,String> headers)

post

HttpTransportService.SResponse post(net.csdn.common.path.Url url,
                                    Map data,
                                    int timeout)

post

HttpTransportService.SResponse post(net.csdn.common.path.Url url,
                                    Map data,
                                    Map<String,String> headers,
                                    int timeout)

put

HttpTransportService.SResponse put(net.csdn.common.path.Url url,
                                   Map data)

put

HttpTransportService.SResponse put(net.csdn.common.path.Url url,
                                   Map data,
                                   Map<String,String> headers)

http

HttpTransportService.SResponse http(net.csdn.common.path.Url url,
                                    String jsonData,
                                    RestRequest.Method method)

http

HttpTransportService.SResponse http(net.csdn.common.path.Url url,
                                    String jsonData,
                                    Map<String,String> headers,
                                    RestRequest.Method method)

http

HttpTransportService.SResponse http(net.csdn.common.path.Url url,
                                    String jsonData,
                                    RestRequest.Method method,
                                    int timeout)

http

HttpTransportService.SResponse http(net.csdn.common.path.Url url,
                                    String jsonData,
                                    Map<String,String> headers,
                                    RestRequest.Method method,
                                    int timeout)

asyncHttp

FutureTask<HttpTransportService.SResponse> asyncHttp(net.csdn.common.path.Url url,
                                                     String jsonData,
                                                     RestRequest.Method method)

header

void header(String header,
            String value)

asyncHttps

List<HttpTransportService.SResponse> asyncHttps(List<net.csdn.common.path.Url> urls,
                                                String jsonData,
                                                RestRequest.Method method)


Copyright © 2014. All Rights Reserved.