|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.security.auth.client.spi.AbstractHttpClient
public abstract class AbstractHttpClient
Abstract HTTP Client
| Constructor Summary | |
|---|---|
protected |
AbstractHttpClient()
Constructor |
| Method Summary | |
|---|---|
protected static void |
close(Closeable closeable)
Close a Closeable |
protected static void |
close(HttpURLConnection connection)
Disconnects the connection |
protected abstract URL |
getAuthenticationURL()
Retrieve the authentication URL |
protected HttpURLConnection |
getHeadConnection(boolean secure)
Create a POST connection |
protected HttpURLConnection |
getPostConnection(boolean secure)
Create a POST connection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractHttpClient()
the - authentication action
MalformedURLException| Method Detail |
|---|
protected abstract URL getAuthenticationURL()
protected HttpURLConnection getPostConnection(boolean secure)
throws IOException
secure - true if a https connection is required
IOException
protected HttpURLConnection getHeadConnection(boolean secure)
throws IOException
secure - true if a https connection is required
IOExceptionprotected static void close(HttpURLConnection connection)
connection - the connection to be disconnected;
may be null.protected static void close(Closeable closeable)
Closeable
closeable - the object to be closed;
may be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||