Tabnine Logo
WebSocketProcessor.configure
Code IndexAdd Tabnine to your IDE (free)

How to use
configure
method
in
org.atmosphere.websocket.WebSocketProcessor

Best Java code snippets using org.atmosphere.websocket.WebSocketProcessor.configure (Showing top 1 results out of 315)

origin: Atmosphere/atmosphere

  private WebSocketProcessor createProcessor(AtmosphereFramework framework) {
    WebSocketProcessor processor = null;

    String webSocketProcessorName = framework.getWebSocketProcessorClassName();
    if (!webSocketProcessorName.equalsIgnoreCase(DefaultWebSocketProcessor.class.getName())) {
      try {
        processor =  framework.newClassInstance(WebSocketProcessor.class,
            (Class<WebSocketProcessor>) IOUtils.loadClass(getClass(), webSocketProcessorName));
      } catch (Exception ex) {
        logger.error("Unable to create {}", webSocketProcessorName);
        processor = new DefaultWebSocketProcessor();
      }
    }

    if (processor == null) {
      processor = new DefaultWebSocketProcessor();
    }
    processor.configure(framework.getAtmosphereConfig());

    return processor;
  }
}
org.atmosphere.websocketWebSocketProcessorconfigure

Javadoc

Configure, or post construct a WebSocketProcessor

Popular methods of WebSocketProcessor

  • close
  • open
  • invokeWebSocketProtocol
  • handshake
  • notifyListener
  • destroy
    Destroy all resources associated with this class.
  • registerWebSocketHandler
    Register a WebSocketHandler

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Runner (org.openjdk.jmh.runner)
  • Top plugins for Android Studio
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