Class ServerConfiguration

  • All Implemented Interfaces:

    
    public class ServerConfiguration
    
                        

    Representing a Server configuration.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String URL(Map<String, String> variables) Format URL template using given variables.
      String URL() Format URL template using default server variables.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServerConfiguration

        ServerConfiguration(String URL, String description, Map<String, ServerVariable> variables)
        Parameters:
        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.
    • Method Detail

      • URL

         String URL(Map<String, String> variables)

        Format URL template using given variables.

        Parameters:
        variables - A map between a variable name and its value.
        Returns:

        Formatted URL.

      • URL

         String URL()

        Format URL template using default server variables.

        Returns:

        Formatted URL.