Class ParsedUrlTemplate


  • public class ParsedUrlTemplate
    extends java.lang.Object
    Parsed URL template.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches()
      Does it match the template.
      java.util.Map<java.lang.String,​java.lang.String> parameters()
      Get parameter values.
      java.util.List<org.apache.http.NameValuePair> queryParameters()
      Get query string parameter values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • matches

        public boolean matches()
        Does it match the template.
        Returns:
        true if given url match
      • parameters

        public java.util.Map<java.lang.String,​java.lang.String> parameters()
        Get parameter values.
        Returns:
        unmodifiable map of parameters
      • queryParameters

        public java.util.List<org.apache.http.NameValuePair> queryParameters()
        Get query string parameter values.
        Returns:
        list of name value pair