Class Context (3.5.3)

public class Context

Class to hold context attributes including information about {@see HttpRequest} and tracing.

Inheritance

Object > Context

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getHttpRequest()

public HttpRequest getHttpRequest()
Returns
TypeDescription
HttpRequest

getSpanId()

public String getSpanId()
Returns
TypeDescription
String

getTraceId()

public String getTraceId()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

newBuilder()

public static Context.Builder newBuilder()

Returns a builder for HttpRequest objects.

Returns
TypeDescription
Context.Builder

toBuilder()

public Context.Builder toBuilder()

Returns a builder for this object.

Returns
TypeDescription
Context.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides