au.net.ocean.httpclient.auth.spnego
Class SPNegoHTTPClient
java.lang.Object
org.apache.commons.httpclient.HttpClient
au.net.ocean.httpclient.auth.spnego.SPNegoHTTPClient
public class SPNegoHTTPClient
- extends org.apache.commons.httpclient.HttpClient
Created by dwhitla at Apr 15, 2007 3:09:49 PM
Decorator
- Version:
- $Id: SPNegoHTTPClient.java 0 Apr 15, 2007 3:09:49 PM dwhitla $
- Author:
- Dave Whitla
|
Method Summary |
int |
executeMethod(org.apache.commons.httpclient.HostConfiguration hostConfiguration,
org.apache.commons.httpclient.HttpMethod method)
Executes the given HTTP method using custom
host configuration. |
int |
executeMethod(org.apache.commons.httpclient.HostConfiguration hostconfig,
org.apache.commons.httpclient.HttpMethod method,
org.apache.commons.httpclient.HttpState state)
Executes the given HTTP method using the given custom
host configuration with the given custom
HTTP state. |
int |
executeMethod(org.apache.commons.httpclient.HostConfiguration hostconfig,
org.apache.commons.httpclient.HttpMethod method,
org.apache.commons.httpclient.HttpState state,
java.lang.String servicePrincipal)
|
int |
executeMethod(org.apache.commons.httpclient.HostConfiguration hostConfiguration,
org.apache.commons.httpclient.HttpMethod method,
java.lang.String servicePrincipal)
|
int |
executeMethod(org.apache.commons.httpclient.HttpMethod method)
Executes the given HTTP method. |
int |
executeMethod(org.apache.commons.httpclient.HttpMethod method,
java.lang.String servicePrincipal)
|
| Methods inherited from class org.apache.commons.httpclient.HttpClient |
getHost, getHostConfiguration, getHttpConnectionManager, getParams, getPort, getState, isStrictMode, setConnectionTimeout, setHostConfiguration, setHttpConnectionFactoryTimeout, setHttpConnectionManager, setParams, setState, setStrictMode, setTimeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPNegoHTTPClient
public SPNegoHTTPClient(SPNegoCredentials credentials,
boolean mutualAuth)
executeMethod
public int executeMethod(org.apache.commons.httpclient.HttpMethod method)
throws java.io.IOException
- Executes the given
HTTP method.
- Overrides:
executeMethod in class org.apache.commons.httpclient.HttpClient
- Parameters:
method - the HTTP method to execute.
- Returns:
- the method's response code
- Throws:
java.io.IOException - If an I/O (transport) error occurs. Some transport exceptions
can be recovered from.
org.apache.commons.httpclient.HttpException - If a protocol exception occurs. Usually protocol exceptions
cannot be recovered from.
executeMethod
public int executeMethod(org.apache.commons.httpclient.HostConfiguration hostConfiguration,
org.apache.commons.httpclient.HttpMethod method)
throws java.io.IOException
- Executes the given
HTTP method using custom
host configuration.
- Overrides:
executeMethod in class org.apache.commons.httpclient.HttpClient
- Parameters:
hostConfiguration - The host configuration to use.method - the HTTP method to execute.
- Returns:
- the method's response code
- Throws:
java.io.IOException - If an I/O (transport) error occurs. Some transport exceptions
can be recovered from.
org.apache.commons.httpclient.HttpException - If a protocol exception occurs. Usually protocol exceptions
cannot be recovered from.- Since:
- 2.0
executeMethod
public int executeMethod(org.apache.commons.httpclient.HostConfiguration hostconfig,
org.apache.commons.httpclient.HttpMethod method,
org.apache.commons.httpclient.HttpState state)
throws java.io.IOException
- Executes the given
HTTP method using the given custom
host configuration with the given custom
HTTP state.
- Overrides:
executeMethod in class org.apache.commons.httpclient.HttpClient
- Parameters:
hostconfig - The host configuration to use.method - the HTTP method to execute.state - the HTTP state to use when executing the method.
If null, the state returned by HttpClient.getState() will be used instead.
- Returns:
- the method's response code
- Throws:
java.io.IOException - If an I/O (transport) error occurs. Some transport exceptions
can be recovered from.
org.apache.commons.httpclient.HttpException - If a protocol exception occurs. Usually protocol exceptions
cannot be recovered from.- Since:
- 2.0
executeMethod
public int executeMethod(org.apache.commons.httpclient.HttpMethod method,
java.lang.String servicePrincipal)
throws java.io.IOException
- Throws:
java.io.IOException
executeMethod
public int executeMethod(org.apache.commons.httpclient.HostConfiguration hostConfiguration,
org.apache.commons.httpclient.HttpMethod method,
java.lang.String servicePrincipal)
throws java.io.IOException
- Throws:
java.io.IOException
executeMethod
public int executeMethod(org.apache.commons.httpclient.HostConfiguration hostconfig,
org.apache.commons.httpclient.HttpMethod method,
org.apache.commons.httpclient.HttpState state,
java.lang.String servicePrincipal)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2007-2008 Ocean. All Rights Reserved.