Tabnine Logo
Connector.getScheduler
Code IndexAdd Tabnine to your IDE (free)

How to use
getScheduler
method
in
org.eclipse.jetty.server.Connector

Best Java code snippets using org.eclipse.jetty.server.Connector.getScheduler (Showing top 8 results out of 315)

origin: com.ovea.tajin.server/tajin-server-jetty9

  public Scheduler getScheduler()
  {
    return _connector.getScheduler();
  }
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

  public Scheduler getScheduler()
  {
    return _connector.getScheduler();
  }
}
origin: jenkinsci/winstone

public Scheduler getScheduler()
{
  return _connector.getScheduler();
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jetty.server

public Scheduler getScheduler()
{
  return _connector.getScheduler();
}
origin: Nextdoor/bender

public Scheduler getScheduler()
{
  return _connector.getScheduler();
}
origin: org.eclipse.jetty.spdy/spdy-http-server

private HTTPSession(short version, Connector connector)
{
  super(version, connector.getByteBufferPool(), connector.getScheduler(), null,
      getEndPoint(), null, 1, proxyEngineSelector, null, null);
}
origin: org.eclipse.jetty.spdy/spdy-server

@Override
public Connection newConnection(Connector connector, EndPoint endPoint)
{
  CompressionFactory compressionFactory = new StandardCompressionFactory();
  Parser parser = new Parser(compressionFactory.newDecompressor());
  Generator generator = new Generator(connector.getByteBufferPool(), compressionFactory.newCompressor());
  ServerSessionFrameListener listener = provideServerSessionFrameListener(connector, endPoint);
  SPDYConnection connection = new ServerSPDYConnection(connector, endPoint, parser, listener,
      isDispatchIO(), getInputBufferSize());
  FlowControlStrategy flowControlStrategy = newFlowControlStrategy(version);
  StandardSession session = new StandardSession(getVersion(), connector.getByteBufferPool(),
      connector.getScheduler(), connection, endPoint, connection, 2, listener,
      generator, flowControlStrategy);
  session.setWindowSize(getInitialWindowSize());
  parser.addListener(session);
  connection.setSession(session);
  sessionOpened(session);
  return configure(connection, connector, endPoint);
}
origin: jenkinsci/winstone

@Override
public Connection newConnection(Connector connector, EndPoint endPoint)
{
  ServerSessionListener listener = newSessionListener(connector, endPoint);
  Generator generator = new Generator(connector.getByteBufferPool(), getMaxDynamicTableSize(), getMaxHeaderBlockFragment());
  FlowControlStrategy flowControl = getFlowControlStrategyFactory().newFlowControlStrategy();
  HTTP2ServerSession session = new HTTP2ServerSession(connector.getScheduler(), endPoint, generator, listener, flowControl);
  session.setMaxLocalStreams(getMaxConcurrentStreams());
  session.setMaxRemoteStreams(getMaxConcurrentStreams());
  // For a single stream in a connection, there will be a race between
  // the stream idle timeout and the connection idle timeout. However,
  // the typical case is that the connection will be busier and the
  // stream idle timeout will expire earlier than the connection's.
  long streamIdleTimeout = getStreamIdleTimeout();
  if (streamIdleTimeout <= 0)
    streamIdleTimeout = endPoint.getIdleTimeout();
  session.setStreamIdleTimeout(streamIdleTimeout);
  session.setInitialSessionRecvWindow(getInitialSessionRecvWindow());
  session.setWriteThreshold(getHttpConfiguration().getOutputBufferSize());
  ServerParser parser = newServerParser(connector, session);
  parser.setMaxFrameLength(getMaxFrameLength());
  parser.setMaxSettingsKeys(getMaxSettingsKeys());
  HTTP2Connection connection = new HTTP2ServerConnection(connector.getByteBufferPool(), connector.getExecutor(),
          endPoint, httpConfiguration, parser, session, getInputBufferSize(), listener);
  connection.addListener(sessionContainer);
  return configure(connection, connector, endPoint);
}
org.eclipse.jetty.serverConnectorgetScheduler

Popular methods of Connector

  • setPort
  • stop
  • getLocalPort
  • getName
  • start
  • getServer
  • setHost
    Set the hostname of the interface to bind to.
  • getConnectionFactories
  • getPort
  • getConnectionFactory
  • getExecutor
  • getHost
  • getExecutor,
  • getHost,
  • getByteBufferPool,
  • close,
  • getProtocols,
  • isConfidential,
  • isIntegral,
  • shutdown,
  • getDefaultConnectionFactory

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getContentResolver (Context)
  • startActivity (Activity)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Top plugins for WebStorm
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