Annotation Type Resource


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface Resource
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String bookmark
      Where the client goes for service discovery.
      java.lang.String codeUrl
      Where the code will be served from.Defaults to '{host}{bookmark}/code'
      java.lang.String rootUrl
      The root url for the end points about this resource.
      java.lang.String urlWithId
      The url for resources when their id is known.
    • Element Detail

      • bookmark

        java.lang.String bookmark
        Where the client goes for service discovery.
        Default:
        ""
      • rootUrl

        java.lang.String rootUrl
        The root url for the end points about this resource. The client does not have access to this except through the book marked url
        Default:
        ""
      • urlWithId

        java.lang.String urlWithId
        The url for resources when their id is known. The client doesnt have access to this
        Default:
        ""
      • codeUrl

        java.lang.String codeUrl
        Where the code will be served from.Defaults to '{host}{bookmark}/code'
        Default:
        ""