Tabnine Logo
Description.getURIs
Code IndexAdd Tabnine to your IDE (free)

How to use
getURIs
method
in
org.springframework.extensions.webscripts.Description

Best Java code snippets using org.springframework.extensions.webscripts.Description.getURIs (Showing top 6 results out of 315)

origin: org.alfresco.surf/spring-surf

public String[] getURIs()
{
  return description.getURIs();
}
origin: org.springframework.extensions.surf/spring-surf

public String[] getURIs()
{
  return description.getURIs();
}
origin: deas/alfresco

/**
 * Register a Web Script URI
 * 
 * @param script
 */
private void registerURIs(WebScript script)
{
  Description desc = script.getDescription();
  for (String uri : desc.getURIs())
  {
    PathImpl path = uriByPath.get("/");
    String[] parts = uri.split("/");
    for (String part : parts)
    {
      if (part.indexOf("?") != -1)
      {
        part = part.substring(0, part.indexOf("?"));
      }
      PathImpl subpath = uriByPath.get(PathImpl.concatPath(path.getPath(), part));
      if (subpath == null)
      {
        subpath = path.createChildPath(part);
        uriByPath.put(subpath.getPath(), subpath);
      }
      path = subpath;
    }
    path.addScript(script);
  }
}
origin: org.alfresco.surf/spring-webscripts

/**
 * Register a Web Script URI
 * 
 * @param script WebScript
 */
private void registerURIs(WebScript script)
{
  Description desc = script.getDescription();
  for (String uri : desc.getURIs())
  {
    PathImpl path = uriByPath.get("/");
    String[] parts = uri.split("/");
    for (String part : parts)
    {
      if (part.indexOf("?") != -1)
      {
        part = part.substring(0, part.indexOf("?"));
      }
      PathImpl subpath = uriByPath.get(PathImpl.concatPath(path.getPath(), part));
      if (subpath == null)
      {
        subpath = path.createChildPath(part);
        uriByPath.put(subpath.getPath(), subpath);
      }
      path = subpath;
    }
    path.addScript(script);
  }
}
origin: org.springframework.extensions.surf/spring-webscripts

/**
 * Register a Web Script URI
 * 
 * @param script WebScript
 */
private void registerURIs(WebScript script)
{
  Description desc = script.getDescription();
  for (String uri : desc.getURIs())
  {
    PathImpl path = uriByPath.get("/");
    String[] parts = uri.split("/");
    for (String part : parts)
    {
      if (part.indexOf("?") != -1)
      {
        part = part.substring(0, part.indexOf("?"));
      }
      PathImpl subpath = uriByPath.get(PathImpl.concatPath(path.getPath(), part));
      if (subpath == null)
      {
        subpath = path.createChildPath(part);
        uriByPath.put(subpath.getPath(), subpath);
      }
      path = subpath;
    }
    path.addScript(script);
  }
}
origin: deas/alfresco

String[] uris = script.getDescription().getURIs();
for (String uri : uris)
org.springframework.extensions.webscriptsDescriptiongetURIs

Javadoc

Gets the URIs this service supports

Popular methods of Description

  • getFamilys
    Gets the family(s) of this service in the order that they are defined
  • getId
  • getDefaultFormat
    Gets the default response format Note: the default response format is the first listed in the servic
  • getDescPath
    Gets the path of the description xml document for this web script
  • getFormatStyle
    Gets the style of Format discriminator supported by this web script
  • getLifecycle
    Get the lifecycle
  • getMethod
    Gets the HTTP method this service is bound to
  • getMultipartProcessing
  • getNegotiatedFormats
    Gets the formats available for negotiation
  • getRequestTypes
    Gets webscript request types
  • getRequiredAuthentication
    Gets the required authentication level for execution of this service
  • getRequiredCache
    Gets the required level of caching
  • getRequiredAuthentication,
  • getRequiredCache,
  • getResponseTypes,
  • getScriptPath,
  • getShortName,
  • getStorePath,
  • getArguments,
  • getDescDocument,
  • getPackage

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Notification (javax.management)
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top Vim 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