Class SessionRequest


  • public class SessionRequest
    extends java.lang.Object
    • Constructor Detail

      • SessionRequest

        public SessionRequest​(RequestId requestId,
                              HttpRequest request,
                              java.time.Instant enqueued)
      • SessionRequest

        public SessionRequest​(RequestId requestId,
                              java.time.Instant enqueued,
                              java.util.Set<Dialect> downstreamDialects,
                              java.util.Set<Capabilities> desiredCapabilities,
                              java.util.Map<java.lang.String,​java.lang.Object> metadata,
                              java.util.Map<java.lang.String,​java.lang.String> traceHeaders)
    • Method Detail

      • getRequestId

        public RequestId getRequestId()
      • getTraceHeaders

        public java.util.Map<java.lang.String,​java.lang.String> getTraceHeaders()
      • getTraceHeader

        public java.lang.String getTraceHeader​(java.lang.String key)
      • getDesiredCapabilities

        public java.util.Set<Capabilities> getDesiredCapabilities()
      • getDownstreamDialects

        public java.util.Set<Dialect> getDownstreamDialects()
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.Object> getMetadata()
      • getEnqueued

        public java.time.Instant getEnqueued()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object