Package io.grpc

Class InternalConfigSelector.Result

  • Enclosing class:
    InternalConfigSelector

    public static final class InternalConfigSelector.Result
    extends java.lang.Object
    • Field Detail

      • status

        private final Status status
      • config

        private final java.lang.Object config
    • Method Detail

      • getStatus

        public Status getStatus()
        Returns the status of the config selection operation. If status is not Status.OK, this result should not be used.
      • getConfig

        public java.lang.Object getConfig()
        Returns a parsed config. Must have been returned via ServiceConfigParser.parseServiceConfig().getConfig()
      • getInterceptor

        @Nullable
        public ClientInterceptor getInterceptor()
        Returns an interceptor that will be applies to calls.