|
||||||||||
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
Method Summary | |
---|---|
java.lang.String |
getAuthPassword()
Deprecated. |
java.lang.String |
getAuthUsername()
Deprecated. |
java.net.HttpURLConnection |
getConnection(java.net.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. |
java.nio.charset.Charset |
getEncoding()
Deprecated. Returns the preferred character encoding name to encode requests in |
java.io.InputStream |
getInputStream(java.net.HttpURLConnection hc)
Deprecated. |
java.io.InputStream |
getInputStream(java.net.URL query,
HttpMethod method)
Deprecated. Shortcut for conn = getConnection(url, method); getInputStream(conn); |
boolean |
isTryGzip()
Deprecated. |
Method Detail |
---|
java.lang.String getAuthUsername()
java.lang.String getAuthPassword()
boolean isTryGzip()
java.nio.charset.Charset getEncoding()
java.net.HttpURLConnection getConnection(java.net.URL query, HttpMethod method) throws java.io.IOException
query
- method
-
java.io.IOException
java.io.InputStream getInputStream(java.net.HttpURLConnection hc) throws java.io.IOException
java.io.IOException
java.io.InputStream getInputStream(java.net.URL query, HttpMethod method) throws java.io.IOException
conn = getConnection(url, method); getInputStream(conn);
query
- method
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |