Codota Logo
Description.getFormatStyle
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain Description
private void myMethod () {
Description d =
  • Codota IconWebScript script;script.getDescription()
  • Smart code suggestions by Codota
}
origin: org.alfresco.surf/spring-surf

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

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

public FormatStyle getFormatStyle()
{
  Match match = getServiceMatch();
  if (match == null)
  {
    return FormatStyle.any;
  }
  FormatStyle style = match.getWebScript().getDescription().getFormatStyle();
  if (style != FormatStyle.any)
  {
    return style;
  }
  else
  {
    String argFormat = getParameter(ARG_FORMAT);
    if (argFormat != null && argFormat.length() > 0)
    {
      return FormatStyle.argument;
    }
    else
    {
      return FormatStyle.extension;
    }
  }
}
origin: org.alfresco.surf/spring-webscripts

  wildcard = true;
if (desc.getFormatStyle() != Description.FormatStyle.argument)
origin: org.alfresco.surf/spring-webscripts

public FormatStyle getFormatStyle()
{
  Match match = getServiceMatch();
  if (match == null)
  {
    return FormatStyle.any;
  }
  FormatStyle style = match.getWebScript().getDescription().getFormatStyle();
  if (style != FormatStyle.any)
  {
    return style;
  }
  else
  {
    String argFormat = getParameter(ARG_FORMAT);
    if (argFormat != null && argFormat.length() > 0)
    {
      return FormatStyle.argument;
    }
    else
    {
      return FormatStyle.extension;
    }
  }
}
origin: deas/alfresco

  wildcard = true;
if (desc.getFormatStyle() != Description.FormatStyle.argument)
origin: deas/alfresco

public FormatStyle getFormatStyle()
{
  Match match = getServiceMatch();
  if (match == null)
  {
    return FormatStyle.any;
  }
  FormatStyle style = match.getWebScript().getDescription().getFormatStyle();
  if (style != FormatStyle.any)
  {
    return style;
  }
  else
  {
    String argFormat = getParameter(ARG_FORMAT);
    if (argFormat != null && argFormat.length() > 0)
    {
      return FormatStyle.argument;
    }
    else
    {
      return FormatStyle.extension;
    }
  }
}
origin: org.springframework.extensions.surf/spring-webscripts

  wildcard = true;
if (desc.getFormatStyle() != Description.FormatStyle.argument)
origin: deas/alfresco

if (desc.getFormatStyle() != Description.FormatStyle.argument)
origin: org.alfresco.surf/spring-webscripts

if (desc.getFormatStyle() != Description.FormatStyle.argument)
origin: org.springframework.extensions.surf/spring-webscripts

if (desc.getFormatStyle() != Description.FormatStyle.argument)
origin: org.springframework.extensions.surf/spring-webscripts

FormatStyle style = desc.getFormatStyle();
origin: org.alfresco.surf/spring-webscripts

FormatStyle style = desc.getFormatStyle();
origin: deas/alfresco

FormatStyle style = desc.getFormatStyle();
origin: org.alfresco.surf/spring-webscripts

String format = (reqFormat == null || reqFormat.length() == 0) ? "[undefined]" : reqFormat;
Description desc = scriptReq.getServiceMatch().getWebScript().getDescription();
logger.debug("Invoking Web Script " + description.getId() + " (format " + format + ", style: " + desc.getFormatStyle() + ", default: " + desc.getDefaultFormat() + ")");
origin: org.springframework.extensions.surf/spring-webscripts

String format = (reqFormat == null || reqFormat.length() == 0) ? "[undefined]" : reqFormat;
Description desc = scriptReq.getServiceMatch().getWebScript().getDescription();
logger.debug("Invoking Web Script " + description.getId() + " (format " + format + ", style: " + desc.getFormatStyle() + ", default: " + desc.getDefaultFormat() + ")");
origin: deas/alfresco

String format = (reqFormat == null || reqFormat.length() == 0) ? "[undefined]" : reqFormat;
Description desc = scriptReq.getServiceMatch().getWebScript().getDescription();
logger.debug("Invoking Web Script " + description.getId() + " (format " + format + ", style: " + desc.getFormatStyle() + ", default: " + desc.getDefaultFormat() + ")");
org.springframework.extensions.webscriptsDescriptiongetFormatStyle

Javadoc

Gets the style of Format discriminator supported by this web script

Popular methods of Description

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

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • getSharedPreferences (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now