Class VenicePathParserHelper

java.lang.Object
com.linkedin.venice.router.api.VenicePathParserHelper

public class VenicePathParserHelper extends Object
Created by mwise on 4/25/16.
  • Method Details

    • parseRequest

      public static VenicePathParserHelper parseRequest(io.netty.handler.codec.http.HttpRequest request)
    • extractQueryParameters

      public Map<String,String> extractQueryParameters(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. 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

      public RouterResourceType getResourceType()
    • getResourceName

      public String getResourceName()
    • getKey

      public String getKey()