Annotation Type TestHTTPResource


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface TestHTTPResource
    Indicates that a field should be injected with a resource that is pre-configured to use the correct test URL. This could be a String or URL object, or some other HTTP/Websocket based client. This mechanism is pluggable, via TestHTTPResourceProvider
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean ssl  
      String value  
    • Element Detail

      • value

        String value
        Returns:
        The path part of the URL
        Default:
        ""
      • ssl

        boolean ssl
        Returns:
        If the URL should use the HTTPS protocol and SSL port
        Default:
        false