public class AvaticaCommonsHttpClientSpnegoImpl extends Object implements AvaticaHttpClient
Modifier and Type | Field and Description |
---|---|
static String |
CACHED_CONNECTIONS_MAX_DEFAULT |
static String |
CACHED_CONNECTIONS_MAX_KEY |
static String |
CACHED_CONNECTIONS_MAX_PER_ROUTE_DEFAULT |
static String |
CACHED_CONNECTIONS_MAX_PER_ROUTE_KEY |
Constructor and Description |
---|
AvaticaCommonsHttpClientSpnegoImpl(URL url)
Constructs an http client with the expectation that the user is already logged in with their
Kerberos identity via JAAS.
|
AvaticaCommonsHttpClientSpnegoImpl(URL url,
GSSCredential credential)
Constructs an HTTP client with user specified by the given credentials.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
send(byte[] request)
Sends a serialized request to the Avatica server.
|
public static final String CACHED_CONNECTIONS_MAX_KEY
public static final String CACHED_CONNECTIONS_MAX_DEFAULT
public static final String CACHED_CONNECTIONS_MAX_PER_ROUTE_KEY
public static final String CACHED_CONNECTIONS_MAX_PER_ROUTE_DEFAULT
public AvaticaCommonsHttpClientSpnegoImpl(URL url)
url
- The URL for the Avatica serverpublic AvaticaCommonsHttpClientSpnegoImpl(URL url, GSSCredential credential)
url
- The URL for the Avatica servercredential
- The GSS credentialspublic byte[] send(byte[] request)
AvaticaHttpClient
send
in interface AvaticaHttpClient
request
- The serialized request.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.