Tabnine Logo
InputRepresentation.setAvailable
Code IndexAdd Tabnine to your IDE (free)

How to use
setAvailable
method
in
org.restlet.representation.InputRepresentation

Best Java code snippets using org.restlet.representation.InputRepresentation.setAvailable (Showing top 2 results out of 315)

origin: DeviceConnect/DeviceConnect-Android

/**
 * Sets the input stream to use.
 * 
 * @param stream
 *            The input stream to use.
 */
public void setStream(InputStream stream) {
  this.stream = stream;
  setAvailable(stream != null);
}
origin: org.restlet.osgi/org.restlet

/**
 * Sets the input stream to use.
 * 
 * @param stream
 *            The input stream to use.
 */
public void setStream(InputStream stream) {
  this.stream = stream;
  setAvailable(stream != null);
}
org.restlet.representationInputRepresentationsetAvailable

Popular methods of InputRepresentation

  • <init>
    Constructor.
  • setSize
  • setStream
    Sets the input stream to use.
  • setTransient
  • getCharacterSet
  • getStream
  • setMediaType

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Best plugins for Eclipse
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