Package brave.http
Class HttpServerRequest
java.lang.Object
brave.Request
brave.http.HttpRequest
brave.http.HttpServerRequest
public abstract class HttpServerRequest extends HttpRequest
Marks an interface for use in
HttpServerHandler.handleReceive(HttpServerRequest). This
gives a standard type to consider when parsing an incoming context.- Since:
- 5.7
- See Also:
HttpServerResponse
-
Constructor Summary
Constructors Constructor Description HttpServerRequest() -
Method Summary
Modifier and Type Method Description booleanparseClientIpAndPort(Span span)Override and return true when it is possible to parse theremote IP and portfrom thedelegate.Span.KindspanKind()
-
Constructor Details
-
HttpServerRequest
public HttpServerRequest()
-
-
Method Details
-
spanKind
-
parseClientIpAndPort
Override and return true when it is possible to parse theremote IP and portfrom thedelegate. Defaults to false.
-