Package com.linkedin.alpini.base.misc
Interface BasicRequest
- All Known Implementing Classes:
BasicFullHttpRequest,BasicHttpRequest,Http1FullRequest,Http1Request
public interface BasicRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe request method namelongThe 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 requestlongHigh precision nanotime at which the request was received.longTimestamp at which the request was received.static longgetUri()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
-