public class ServerConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
String |
description |
String |
URL |
Map<String,ServerVariable> |
variables |
Constructor and Description |
---|
ServerConfiguration(String URL,
String description,
Map<String,ServerVariable> variables) |
Modifier and Type | Method and Description |
---|---|
String |
URL()
Format URL template using default server variables.
|
String |
URL(Map<String,String> variables)
Format URL template using given variables.
|
public String URL
public String description
public Map<String,ServerVariable> variables
public ServerConfiguration(String URL, String description, Map<String,ServerVariable> variables)
URL
- A URL to the target host.description
- A description of the host designated by the URL.variables
- A map between a variable name and its value. The value is used for substitution in the server's URL template.public String URL(Map<String,String> variables)
variables
- A map between a variable name and its value.public String URL()
Copyright © 2023. All rights reserved.