Tabnine Logo
URLPatternParser.isElPattern
Code IndexAdd Tabnine to your IDE (free)

How to use
isElPattern
method
in
com.ocpsoft.pretty.faces.url.URLPatternParser

Best Java code snippets using com.ocpsoft.pretty.faces.url.URLPatternParser.isElPattern (Showing top 4 results out of 315)

origin: com.ocpsoft/prettyfaces-jsf2

/**
* Search through all currently configured {@link UrlMapping} objects for the first one that matches the given URL.
* 
* @return the first appropriate {@link UrlMapping} for a given URL.
*/
public UrlMapping getMappingForUrl(final URL url)
{
 final String mappingKey = url.toURL();
 if (cachedMappings.containsKey(mappingKey)) {
   return cachedMappings.get(mappingKey);
 }
 for (UrlMapping mapping : getMappings())
 {
   if (mapping.matches(url))
   {
    if (!mapping.getPatternParser().isElPattern()) {
      cachedMappings.put(mappingKey, mapping);
    }
    return mapping;
   }
 }
 return null;
}
origin: ocpsoft/rewrite

/**
* Search through all currently configured {@link UrlMapping} objects for the first one that matches the given URL.
* 
* @return the first appropriate {@link UrlMapping} for a given URL.
*/
public UrlMapping getMappingForUrl(final URL url)
{
 final String mappingKey = url.toURL();
 if (cachedMappings.containsKey(mappingKey)) {
   return cachedMappings.get(mappingKey);
 }
 for (UrlMapping mapping : getMappings())
 {
   if (mapping.matches(url))
   {
    if (!mapping.getPatternParser().isElPattern()) {
      cachedMappings.put(mappingKey, mapping);
    }
    return mapping;
   }
 }
 return null;
}
origin: ocpsoft/prettyfaces

/**
* Search through all currently configured {@link UrlMapping} objects for the first one that matches the given URL.
* 
* @return the first appropriate {@link UrlMapping} for a given URL.
*/
public UrlMapping getMappingForUrl(final URL url)
{
 final String mappingKey = url.toURL();
 if (cachedMappings.containsKey(mappingKey)) {
   return cachedMappings.get(mappingKey);
 }
 for (UrlMapping mapping : getMappings())
 {
   if (mapping.matches(url))
   {
    if (!mapping.getPatternParser().isElPattern()) {
      cachedMappings.put(mappingKey, mapping);
    }
    return mapping;
   }
 }
 return null;
}
origin: ocpsoft/prettyfaces

/**
* Search through all currently configured {@link UrlMapping} objects for the first one that matches the given URL.
* 
* @return the first appropriate {@link UrlMapping} for a given URL.
*/
public UrlMapping getMappingForUrl(final URL url)
{
 final String mappingKey = url.toURL();
 if (cachedMappings.containsKey(mappingKey)) {
   return cachedMappings.get(mappingKey);
 }
 for (UrlMapping mapping : getMappings())
 {
   if (mapping.matches(url))
   {
    if (!mapping.getPatternParser().isElPattern()) {
      cachedMappings.put(mappingKey, mapping);
    }
    return mapping;
   }
 }
 return null;
}
com.ocpsoft.pretty.faces.urlURLPatternParserisElPattern

Popular methods of URLPatternParser

  • <init>
    Set the pattern for which this parser will match. Find and replace all el expressions with regular e
  • getMappedURL
    URL encoding/decoding is not a concern of this method.
  • getParameterCount
    Get the number of URL parameters that this parser expects to find in any given input string
  • getPathParameters
    Return the list of parameters specified by this pattern.
  • matches
    Return true if this parser matches the given URL, otherwise, return false.
  • parse
    Builds a list of PathParameters for this UrlPattern, extracted from the provided URL (assuming a mat

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • setRequestProperty (URLConnection)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Permission (java.security)
    Legacy security code; do not use.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Notification (javax.management)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now