|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HTTPProtocol
public interface ConnectionFactory
Interface to abstract out the plain connection and stream set up against the target WFS
modules/unsupported/wfs (gt-wfs.jar)
Method Summary | |
---|---|
String |
getAuthPassword()
Deprecated. |
String |
getAuthUsername()
Deprecated. |
HttpURLConnection |
getConnection(URL query,
HttpMethod method)
Deprecated. Creates and returns a connection object for the supplied URL, settled up for the given HTTP method (GET or POST) and this connection factory tryGzip and authentication settings. |
Charset |
getEncoding()
Deprecated. Returns the preferred character encoding name to encode requests in |
InputStream |
getInputStream(HttpURLConnection hc)
Deprecated. |
InputStream |
getInputStream(URL query,
HttpMethod method)
Deprecated. Shortcut for conn = getConnection(url, method); getInputStream(conn); |
boolean |
isTryGzip()
Deprecated. |
Method Detail |
---|
String getAuthUsername()
String getAuthPassword()
boolean isTryGzip()
Charset getEncoding()
HttpURLConnection getConnection(URL query, HttpMethod method) throws IOException
query
- method
-
IOException
InputStream getInputStream(HttpURLConnection hc) throws IOException
IOException
InputStream getInputStream(URL query, HttpMethod method) throws IOException
conn = getConnection(url, method); getInputStream(conn);
query
- method
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |