Class HttpParams


  • @Immutable
    public abstract class HttpParams
    extends java.lang.Object
    Http parameters for configuring connections to remote services. Use ImmutableHttpParams to instantiate.
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpParams()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void check()  
      boolean getAllowInsecureConnections()
      You shouldn't be using this outside of testing or very specific environments, but allows grpc or http clients to connect without ssl/tls.
      int getTimeout()  
      java.lang.String getUserAgent()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpParams

        public HttpParams()
    • Method Detail

      • getUserAgent

        @Default
        public java.lang.String getUserAgent()
      • getTimeout

        @Default
        public int getTimeout()
      • getAllowInsecureConnections

        @Default
        public boolean getAllowInsecureConnections()
        You shouldn't be using this outside of testing or very specific environments, but allows grpc or http clients to connect without ssl/tls.
      • check

        @Check
        protected void check()