congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
ResponseBuilderImpl.language
Code IndexAdd Tabnine to your IDE (free)

How to use
language
method
in
org.jboss.resteasy.specimpl.ResponseBuilderImpl

Best Java code snippets using org.jboss.resteasy.specimpl.ResponseBuilderImpl.language (Showing top 3 results out of 315)

origin: resteasy/Resteasy

@Override
public Response.ResponseBuilder variant(Variant variant)
{
 if (variant == null)
 {
   type((String)null);
   language((String)null);
   metadata.remove(HttpHeaderNames.CONTENT_ENCODING);
   return this;
 }
 type(variant.getMediaType());
 language(variant.getLanguage());
 if (variant.getEncoding() != null) metadata.putSingle(HttpHeaderNames.CONTENT_ENCODING, variant.getEncoding());
 else metadata.remove(HttpHeaderNames.CONTENT_ENCODING);
 return this;
}
origin: org.jboss.resteasy/resteasy-core

@Override
public Response.ResponseBuilder variant(Variant variant)
{
 if (variant == null)
 {
   type((String)null);
   language((String)null);
   metadata.remove(HttpHeaderNames.CONTENT_ENCODING);
   return this;
 }
 type(variant.getMediaType());
 language(variant.getLanguage());
 if (variant.getEncoding() != null) metadata.putSingle(HttpHeaderNames.CONTENT_ENCODING, variant.getEncoding());
 else metadata.remove(HttpHeaderNames.CONTENT_ENCODING);
 return this;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

@Override
public Response.ResponseBuilder variant(Variant variant)
{
 if (variant == null)
 {
   type((String)null);
   language((String)null);
   metadata.remove(HttpHeaderNames.CONTENT_ENCODING);
   return this;
 }
 type(variant.getMediaType());
 language(variant.getLanguage());
 if (variant.getEncoding() != null) metadata.putSingle(HttpHeaderNames.CONTENT_ENCODING, variant.getEncoding());
 else metadata.remove(HttpHeaderNames.CONTENT_ENCODING);
 return this;
}
org.jboss.resteasy.specimplResponseBuilderImpllanguage

Popular methods of ResponseBuilderImpl

  • <init>
  • status
  • type
  • allow
  • createVaryHeader
  • getDateFormatRFC822
  • tag
  • variants
  • build
  • entity

Popular in Java

  • Creating JSON documents from java classes using gson
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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