Package | Description |
---|---|
org.apache.hadoop.fs.http.server | |
org.apache.hadoop.lib.server | |
org.apache.hadoop.lib.servlet |
Modifier and Type | Method and Description |
---|---|
void |
HttpFSServerWebApp.init()
Initializes the HttpFSServer server, loads configuration and required
services.
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceException
Exception thrown by
Service implementations. |
Modifier and Type | Method and Description |
---|---|
protected void |
Server.checkServiceDependencies(Service service)
Checks if all service dependencies of a service are available.
|
void |
Server.init()
Initializes the Server.
|
protected void |
Server.initConfig()
Loads and inializes the server configuration.
|
protected void |
Server.initLog()
Initializes Log4j logging.
|
protected void |
Server.initServices(List<Service> services)
Initializes the list of services.
|
protected List<Service> |
Server.loadServices()
Loads services defined in
services and
services.ext and de-dups them. |
void |
Server.setService(Class<? extends Service> klass)
Adds a service programmatically.
|
void |
Server.setStatus(Server.Status status)
Sets a new server status.
|
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
ServerWebApp.getAuthority()
Returns the hostname:port InetSocketAddress the webserver is listening to.
|
protected InetSocketAddress |
ServerWebApp.resolveAuthority()
Resolves the host and port InetSocketAddress the
web server is listening to.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.