public class DatanodeHttpServer extends Object implements Closeable
| Constructor and Description |
|---|
DatanodeHttpServer(Configuration conf,
org.apache.hadoop.hdfs.server.datanode.DataNode datanode,
ServerSocketChannel externalHttpChannel) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InetSocketAddress |
getHttpAddress() |
InetSocketAddress |
getHttpsAddress() |
void |
start() |
public DatanodeHttpServer(Configuration conf, org.apache.hadoop.hdfs.server.datanode.DataNode datanode, ServerSocketChannel externalHttpChannel) throws IOException
IOExceptionpublic InetSocketAddress getHttpAddress()
public InetSocketAddress getHttpsAddress()
public void start()
public void close() throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 CERN. All Rights Reserved.