Package org.apache.hadoop.hbase.http
Class HttpServer.Builder
java.lang.Object
org.apache.hadoop.hbase.http.HttpServer.Builder
- Enclosing class:
- HttpServer
Class to construct instances of HTTP server with specific options.
-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.security.authorize.AccessControlList
private String
private String
Deprecated.Since 0.99.0.private org.apache.hadoop.conf.Configuration
private String
private boolean
private String
private String
private String
private String
private String
private String
private String
private String
private String
Deprecated.Since 0.99.0.private boolean
private String[]
private int
Deprecated.Since 0.99.0.private boolean
private String
private String
private String
private String
private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddEndpoint
(URI endpoint) Add an endpoint that the HTTP server should listen to.build()
void
excludeCiphers
(String excludeCiphers) Set the hostname of the http server.keyPassword
(String password) needsClientAuth
(boolean value) Specify whether the server should authorize the client in SSL connections.setACL
(org.apache.hadoop.security.authorize.AccessControlList acl) setBindAddress
(String bindAddress) Deprecated.Since 0.99.0.setConf
(org.apache.hadoop.conf.Configuration conf) setFindPort
(boolean findPort) setKerberosNameRulesKey
(String kerberosNameRulesKey) setKeytabConfKey
(String keytabConfKey) Deprecated.Since 0.99.0.setPathSpec
(String[] pathSpec) setPort
(int port) Deprecated.Since 0.99.0.setSecurityEnabled
(boolean securityEnabled) setSignatureSecretFileKey
(String signatureSecretFileKey) setUsernameConfKey
(String usernameConfKey) trustStore
(String location, String password, String type)
-
Field Details
-
endpoints
-
conf
-
pathSpecs
-
adminsAcl
-
securityEnabled
-
usernameConfKey
-
keytabConfKey
-
needsClientAuth
-
excludeCiphers
-
hostName
-
appDir
-
logDir
-
findPort
-
trustStore
-
trustStorePassword
-
trustStoreType
-
keyStore
-
keyStorePassword
-
keyStoreType
-
keyPassword
-
kerberosNameRulesKey
-
signatureSecretFileKey
-
name
Deprecated.Since 0.99.0. Use builder pattern viasetAppDir(String)
instead.- See Also:
-
bindAddress
Deprecated.Since 0.99.0. Use builder pattern viaaddEndpoint(URI)
instead.- See Also:
-
port
Deprecated.Since 0.99.0. Use builder pattern viaaddEndpoint(URI)
instead.- See Also:
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addEndpoint
Add an endpoint that the HTTP server should listen to. the endpoint of that the HTTP server should listen to. The scheme specifies the protocol (i.e. HTTP / HTTPS), the host specifies the binding address, and the port specifies the listening port. Unspecified or zero port means that the server can listen to any port. -
hostName
Set the hostname of the http server. The host name is used to resolve the _HOST field in Kerberos principals. The hostname of the first listener will be used if the name is unspecified. -
trustStore
-
keyStore
-
keyPassword
-
needsClientAuth
Specify whether the server should authorize the client in SSL connections. -
setName
Deprecated.Since 0.99.0. UsesetAppDir(String)
instead.- See Also:
-
setBindAddress
Deprecated.Since 0.99.0. UseaddEndpoint(URI)
instead.- See Also:
-
setPort
Deprecated.Since 0.99.0. UseaddEndpoint(URI)
instead.- See Also:
-
setFindPort
-
setConf
-
setPathSpec
-
setACL
-
setSecurityEnabled
-
setUsernameConfKey
-
setKeytabConfKey
-
setKerberosNameRulesKey
-
setSignatureSecretFileKey
-
setAppDir
-
setLogDir
-
excludeCiphers
-
build
- Throws:
IOException
-