Interface GetConfigRequest

All Known Subinterfaces:
JRTServerConfigRequest
All Known Implementing Classes:
JRTServerConfigRequestV3

public interface GetConfigRequest
Interface for getConfig requests.
Author:
Ulf Lilleengen
  • Method Details

    • getConfigKey

      ConfigKey<?> getConfigKey()
      Returns the ConfigKey for this request.
      Returns:
      the ConfigKey for this config request
    • getDefContent

      DefContent getDefContent()
      The def file contents in the request, or empty array if not sent/not supported
      Returns:
      the contents (payload) of the def schema
    • getVespaVersion

      Optional<VespaVersion> getVespaVersion()
      Get Vespa version for this GetConfigRequest
    • noCache

      boolean noCache()
      Whether or not the config can be retrieved from or stored in a cache.
      Returns:
      true if content should _not_ be cached, false if it should.
    • getRequestDefMd5

      String getRequestDefMd5()
      Returns the md5 of the config definition in the request.
      Returns:
      an md5 of config definition in request.
    • configPayloadChecksums

      PayloadChecksums configPayloadChecksums()
      Returns the payload checksums from the config request.
      Returns:
      the payload checksums from request.