Package com.linkedin.alpini.base.misc
Interface BasicRequest
- All Known Implementing Classes:
BasicFullHttpMultiPartRequest
,BasicFullHttpRequest
,BasicHttpRequest
,Http1FullRequest
,Http1Request
public interface BasicRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe request method namelong
The content length of the request body in bytes, as retrieved by the header, or -1 if not known.The request headers.A computed UUID for the requestlong
High precision nanotime at which the request was received.long
Timestamp at which the request was received.static long
getUri()
The request URI
-
Method Details
-
getMethodName
String getMethodName()The request method name- Returns:
- method string
-
getUri
String getUri()The request URI- Returns:
- uri string
-
getRequestId
UUID getRequestId()A computed UUID for the request- Returns:
- uuid
-
getRequestTimestamp
long getRequestTimestamp()Timestamp at which the request was received.- Returns:
- timestamp
- See Also:
-
getRequestNanos
long getRequestNanos()High precision nanotime at which the request was received.- Returns:
- timestamp
- See Also:
-
getRequestContentLength
long getRequestContentLength()The content length of the request body in bytes, as retrieved by the header, or -1 if not known.- Returns:
- content length
-
getRequestHeaders
Headers getRequestHeaders()The request headers.- Returns:
- headers
-
getRequestTimestamp
-