public class DatanodeHttpServer extends Object implements Closeable
Constructor and Description |
---|
DatanodeHttpServer(org.apache.hadoop.conf.Configuration conf,
InetSocketAddress jettyAddr,
ServerSocketChannel externalHttpChannel) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InetSocketAddress |
getHttpAddress() |
InetSocketAddress |
getHttpsAddress() |
void |
start() |
public DatanodeHttpServer(org.apache.hadoop.conf.Configuration conf, InetSocketAddress jettyAddr, ServerSocketChannel externalHttpChannel) throws IOException
IOException
public InetSocketAddress getHttpAddress()
public InetSocketAddress getHttpsAddress()
public void start()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.