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

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

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

origin: org.springframework.extensions.surf/spring-surf

public String getId()
{
  return description.getId();
}
origin: org.alfresco.surf/spring-surf

public String getId()
{
  return description.getId();
}
origin: org.springframework.extensions.surf/spring-webscripts

/**
 * Associate Web Script with Path
 * 
 * @param script WebScript
 */
public void addScript(WebScript script)
{
  scripts.put(script.getDescription().getId(), script);
}

origin: org.alfresco.surf/spring-webscripts

/**
 * Associate Web Script with Path
 * 
 * @param script WebScript
 */
public void addScript(WebScript script)
{
  scripts.put(script.getDescription().getId(), script);
}

origin: deas/alfresco

/**
 * Associate Web Script with Path
 * 
 * @param script
 */
public void addScript(WebScript script)
{
  scripts.put(script.getDescription().getId(), script);
}

origin: org.springframework.extensions.surf/spring-webscripts

/**
 * Render a template (of given format) to the Web Script Response
 * 
 * @param format  template format (null, default format)  
 * @param model  data model to render
 * @param writer  where to output
 */
final protected void renderFormatTemplate(String format, Map<String, Object> model, Writer writer)
{
  format = (format == null) ? "" : format;
  String templatePath = getDescription().getId() + "." + format;
  if (logger.isDebugEnabled())
    logger.debug("Rendering template '" + templatePath + "'");
  renderTemplate(templatePath, model, writer);
}

origin: org.alfresco.surf/spring-webscripts

/**
 * Render a template (of given format) to the Web Script Response
 * 
 * @param format  template format (null, default format)  
 * @param model  data model to render
 * @param writer  where to output
 */
final protected void renderFormatTemplate(String format, Map<String, Object> model, Writer writer)
{
  format = (format == null) ? "" : format;
  String templatePath = getDescription().getId() + "." + format;
  if (logger.isDebugEnabled())
    logger.debug("Rendering template '" + templatePath + "'");
  renderTemplate(templatePath, model, writer);
}

origin: org.alfresco.surf/spring-surf

public String[] getScriptDocumentPaths(WebScript script)
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPathsByRegEx("/", scriptPaths, false);
}
origin: org.springframework.extensions.surf/spring-webscripts

public String[] getScriptDocumentPaths(WebScript script) throws IOException
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("/", false, scriptPaths);
}
origin: org.springframework.extensions.surf/spring-surf

public String[] getScriptDocumentPaths(WebScript script)
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPathsByRegEx("/", scriptPaths, false);
}
origin: org.springframework.extensions.surf/spring-surf

public String[] getScriptDocumentPaths(WebScript script) throws IOException
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("/", false, scriptPaths);
}
origin: org.alfresco.surf/spring-surf

public String[] getScriptDocumentPaths(WebScript script) throws IOException
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("/", false, scriptPaths);
}
origin: deas/alfresco

public String[] getScriptDocumentPaths(WebScript script)
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("", false, scriptPaths);
}
origin: org.springframework.extensions.surf/spring-webscripts

public String[] getScriptDocumentPaths(WebScript script)
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("", false, scriptPaths);
}
origin: org.alfresco.surf/spring-webscripts

public String[] getScriptDocumentPaths(WebScript script) throws IOException
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("/", false, scriptPaths);
}
origin: org.alfresco.surf/spring-webscripts

public String[] getScriptDocumentPaths(WebScript script)
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("", false, scriptPaths);
}
origin: deas/alfresco

public String[] getScriptDocumentPaths(WebScript script) throws IOException
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("/", false, scriptPaths);
}
origin: org.springframework.extensions.surf/spring-webscripts

  public StatusTemplate getStatusTemplate()
  {
    int statusCode = we.getStatus();
    String format = req.getFormat();
    String scriptId = getDescription().getId();
    return AbstractWebScript.this.getStatusTemplate(scriptId, statusCode, (format == null) ? "" : format);
  }
});
origin: org.alfresco.surf/spring-webscripts

  public StatusTemplate getStatusTemplate()
  {
    int statusCode = we.getStatus();
    String format = req.getFormat();
    String scriptId = getDescription().getId();
    return AbstractWebScript.this.getStatusTemplate(scriptId, statusCode, (format == null) ? "" : format);
  }
});
origin: deas/alfresco

  public StatusTemplate getStatusTemplate()
  {
    int statusCode = we.getStatus();
    String format = req.getFormat();
    String scriptId = getDescription().getId();
    return AbstractWebScript.this.getStatusTemplate(scriptId, statusCode, (format == null) ? "" : format);
  }
});
org.springframework.extensions.webscriptsDescriptiongetId

Popular methods of Description

  • getFamilys
    Gets the family(s) of this service in the order that they are defined
  • getURIs
    Gets the URIs this service supports
  • 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
  • CodeWhisperer alternatives
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