Class ClientConnectionOverrides

    • Constructor Detail

      • ClientConnectionOverrides

        public ClientConnectionOverrides()
        No args constructor for use in serialization
      • ClientConnectionOverrides

        public ClientConnectionOverrides​(String acceptContentTypes,
                                         Integer burst,
                                         String contentType,
                                         Float qps)
    • Method Detail

      • getAcceptContentTypes

        public String getAcceptContentTypes()
        acceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.
      • setAcceptContentTypes

        public void setAcceptContentTypes​(String acceptContentTypes)
        acceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.
      • getBurst

        public Integer getBurst()
        burst allows extra queries to accumulate when a client is exceeding its rate.
      • setBurst

        public void setBurst​(Integer burst)
        burst allows extra queries to accumulate when a client is exceeding its rate.
      • getContentType

        public String getContentType()
        contentType is the content type used when sending data to the server from this client.
      • setContentType

        public void setContentType​(String contentType)
        contentType is the content type used when sending data to the server from this client.
      • getQps

        public Float getQps()
        qps controls the number of queries per second allowed for this connection.
      • setQps

        public void setQps​(Float qps)
        qps controls the number of queries per second allowed for this connection.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)