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 inHttpServerHandler.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
All Methods Instance Methods Concrete Methods 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()-
Methods inherited from class brave.http.HttpRequest
header, method, path, startTimestamp, url
-
-
-
-
Method Detail
-
parseClientIpAndPort
public boolean parseClientIpAndPort(Span span)
Override and return true when it is possible to parse theremote IP and portfrom thedelegate. Defaults to false.
-
-