Class NameApiBaseCommand<T,​A,​R>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected NameApiBaseCommand​(Class<T> wsdlPortType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected String getApiKey​(com.optimaize.command4j.ExecutionContext ec)  
      protected org.nameapi.ontology5.input.context.Context getContext​(com.optimaize.command4j.ExecutionContext ec)  
      protected com.optimaize.anythingworks.client.rest.http.RestHttpClient makeClient​(com.optimaize.command4j.ExecutionContext ec)  
      • Methods inherited from class com.optimaize.anythingworks.client.rest.RestBaseCommand

        createCacheKey, createPort, getHost, getPort, getPortUrlFactory, makeBaseUrl
      • Methods inherited from class com.optimaize.command4j.commands.BaseCommand

        and, andThen, concat, getName, ifNotNullOr, ifTrueOr, toString, withValue
      • Methods inherited from interface com.optimaize.command4j.Command

        call
    • Field Detail

      • CLIENT_VERSION

        protected static String CLIENT_VERSION
    • Constructor Detail

      • NameApiBaseCommand

        protected NameApiBaseCommand​(@NotNull
                                     Class<T> wsdlPortType)
    • Method Detail

      • getContext

        @NotNull
        protected org.nameapi.ontology5.input.context.Context getContext​(@NotNull
                                                                         com.optimaize.command4j.ExecutionContext ec)
      • getApiKey

        @NotNull
        protected String getApiKey​(com.optimaize.command4j.ExecutionContext ec)
      • makeClient

        @NotNull
        protected com.optimaize.anythingworks.client.rest.http.RestHttpClient makeClient​(@NotNull
                                                                                         com.optimaize.command4j.ExecutionContext ec)
        Overrides:
        makeClient in class com.optimaize.anythingworks.client.rest.RestBaseCommand<T,​A,​R>