com.dyuproject.openid
Interface HttpConnector
- All Known Implementing Classes:
- SimpleHttpConnector
public interface HttpConnector
HttpConnector - reads/writes bytes from/to http endpoints.
- Author:
- David Yu
Method Summary |
HttpConnector.Response |
doDELETE(String url,
Map<?,?> headers)
|
HttpConnector.Response |
doDELETE(String url,
Map<?,?> headers,
Map<?,?> parameters)
|
HttpConnector.Response |
doGET(String url,
Map<?,?> headers)
|
HttpConnector.Response |
doGET(String url,
Map<?,?> headers,
Map<?,?> parameters)
|
HttpConnector.Response |
doHEAD(String url,
Map<?,?> headers)
|
HttpConnector.Response |
doPOST(String url,
Map<?,?> headers,
Map<?,?> parameters,
String charset)
|
HttpConnector.Response |
doPOST(String url,
Map<?,?> headers,
String contentType,
byte[] data)
|
HttpConnector.Response |
doPOST(String url,
Map<?,?> headers,
String contentType,
InputStreamReader reader)
|
HttpConnector.Response |
doPUT(String url,
Map<?,?> headers,
Map<?,?> parameters,
String charset)
|
HttpConnector.Response |
doPUT(String url,
Map<?,?> headers,
String contentType,
byte[] data)
|
HttpConnector.Response |
doPUT(String url,
Map<?,?> headers,
String contentType,
InputStreamReader reader)
|
HEAD
static final String HEAD
- See Also:
- Constant Field Values
GET
static final String GET
- See Also:
- Constant Field Values
POST
static final String POST
- See Also:
- Constant Field Values
PUT
static final String PUT
- See Also:
- Constant Field Values
DELETE
static final String DELETE
- See Also:
- Constant Field Values
CONTENT_TYPE_HEADER
static final String CONTENT_TYPE_HEADER
- See Also:
- Constant Field Values
CONTENT_LENGTH_HEADER
static final String CONTENT_LENGTH_HEADER
- See Also:
- Constant Field Values
X_WWW_FORM_URLENCODED
static final String X_WWW_FORM_URLENCODED
- See Also:
- Constant Field Values
doHEAD
HttpConnector.Response doHEAD(String url,
Map<?,?> headers)
throws IOException
- Throws:
IOException
doGET
HttpConnector.Response doGET(String url,
Map<?,?> headers)
throws IOException
- Throws:
IOException
doGET
HttpConnector.Response doGET(String url,
Map<?,?> headers,
Map<?,?> parameters)
throws IOException
- Throws:
IOException
doDELETE
HttpConnector.Response doDELETE(String url,
Map<?,?> headers)
throws IOException
- Throws:
IOException
doDELETE
HttpConnector.Response doDELETE(String url,
Map<?,?> headers,
Map<?,?> parameters)
throws IOException
- Throws:
IOException
doPOST
HttpConnector.Response doPOST(String url,
Map<?,?> headers,
Map<?,?> parameters,
String charset)
throws IOException
- Throws:
IOException
doPOST
HttpConnector.Response doPOST(String url,
Map<?,?> headers,
String contentType,
byte[] data)
throws IOException
- Throws:
IOException
doPOST
HttpConnector.Response doPOST(String url,
Map<?,?> headers,
String contentType,
InputStreamReader reader)
throws IOException
- Throws:
IOException
doPUT
HttpConnector.Response doPUT(String url,
Map<?,?> headers,
Map<?,?> parameters,
String charset)
throws IOException
- Throws:
IOException
doPUT
HttpConnector.Response doPUT(String url,
Map<?,?> headers,
String contentType,
byte[] data)
throws IOException
- Throws:
IOException
doPUT
HttpConnector.Response doPUT(String url,
Map<?,?> headers,
String contentType,
InputStreamReader reader)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.