Annotation Interface Socket


@Retention(RUNTIME) @Target(PARAMETER) public @interface Socket
Named socket Qualifier for Http Client. This annotation can be used to qualify injection of parameters into test constructors or methods, such as to obtain a client configured for the named socket.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of the socket.
  • Element Details

    • value

      String value
      Name of the socket.
      Returns:
      String with the name of the Socket