public Map < String , Collection < String > > queries ( ) { Map < String , Collection < String > > queryMap = new LinkedHashMap <> ( ) ; this . queries . forEach ( ( key , queryTemplate ) -> { List < String > values = new ArrayList <> ( queryTemplate . getValues ( ) ) ; /* add the expanded collection, but lock it */ queryMap . put ( key , Collections . unmodifiableList ( values ) ) ; } ) ; return Collections . unmodifiableMap ( queryMap ) ; }
Return an immutable Map of all Query Parameters and their values .