Class VenicePathParserHelper


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

      • parseRequest

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

        public java.util.Map<java.lang.String,​java.lang.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.
      • getResourceName

        public java.lang.String getResourceName()
      • getKey

        public java.lang.String getKey()