Class BaseHttpApiMetadata<A>

    • Field Detail

      • api

        protected final Class<A> api
    • Method Detail

      • defaultProperties

        public static Properties defaultProperties()
      • contextToken

        public static <S,​A> com.google.common.reflect.TypeToken<ApiContext<A>> contextToken​(com.google.common.reflect.TypeToken<A> apiToken)
      • getApi

        public Class<A> getApi()
        Specified by:
        getApi in interface HttpApiMetadata<A>
        Returns:
        the type of the java api which has http annotations on its methods.
      • string

        protected com.google.common.base.MoreObjects.ToStringHelper string()
        Overrides:
        string in class BaseApiMetadata