public class EC2MetadataUtilsServer extends Object
Constructor and Description |
---|
EC2MetadataUtilsServer(String address,
int port,
boolean tokenEnabled) |
Modifier and Type | Method and Description |
---|---|
protected String |
constructInstanceInfo() |
int |
getLocalPort() |
void |
start() |
void |
stop() |
public EC2MetadataUtilsServer(String address, int port, boolean tokenEnabled) throws IOException
IOException
public void start()
public void stop() throws IOException
IOException
public int getLocalPort()
protected String constructInstanceInfo()
Copyright © 2023. All rights reserved.