Class VenicePathParser<HTTP_REQUEST extends BasicHttpRequest>

  • All Implemented Interfaces:
    ExtendedResourcePathParser<VenicePath,​RouterKey,​HTTP_REQUEST>, ResourcePathParser<VenicePath,​RouterKey>

    public class VenicePathParser<HTTP_REQUEST extends BasicHttpRequest>
    extends java.lang.Object
    implements ExtendedResourcePathParser<VenicePath,​RouterKey,​HTTP_REQUEST>
    Inbound single get request to the router will look like: GET /storage/storeName/key?f=fmt 'storage' is a literal, meaning we will request the value for a single key storeName will be the name of the requested store key is the key being looked up fmt is an optional format parameter, one of 'string' or 'b64'. If omitted, assumed to be 'string' Batch get requests look like: POST /storage/storeName And the keys are concatenated in the POST body. The VenicePathParser is responsible for looking up the active version of the store, and constructing the store-version