Annotation Type Host


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Host
    Annotation for parameterized host name targeting a REST service.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      Get the protocol/scheme, host, and optional port number in a single string.
    • Element Detail

      • value

        java.lang.String value
        Get the protocol/scheme, host, and optional port number in a single string.
        Returns:
        The protocol/scheme, host, and optional port number in a single string.
        Default:
        ""