Package com.linkedin.venice.router.api
Class VenicePathParserHelper
java.lang.Object
com.linkedin.venice.router.api.VenicePathParserHelper
Created by mwise on 4/25/16.
-
Method Summary
Modifier and TypeMethodDescriptionextractQueryParameters
(io.netty.handler.codec.http.HttpRequest request) We provide this method as a utility function as opposed to storing the query parameters in this class.getKey()
static VenicePathParserHelper
parseRequest
(io.netty.handler.codec.http.HttpRequest request)
-
Method Details
-
parseRequest
-
extractQueryParameters
We provide this method as a utility function as opposed to storing the query parameters in this class. We do this because we only really need these parameters for some very specific circumstances, so we avoid keeping around extra maps on heap in the data path.- Parameters:
request
- request to have it's query parameters extracted- Returns:
- a map keyed by the parameter name and accompanied by it's associated value.
-
getResourceType
-
getResourceName
-
getKey
-