Codota Logo
FrameType.getType
Code IndexAdd Codota to your IDE (free)

How to use
getType
method
in
org.eclipse.jetty.http2.frames.FrameType

Best Java code snippets using org.eclipse.jetty.http2.frames.FrameType.getType (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: org.eclipse.jetty.http2/http2-common

public void init(UnaryOperator<Listener> wrapper)
{
  Listener listener = wrapper.apply(this.listener);
  unknownBodyParser = new UnknownBodyParser(headerParser, listener);
  HeaderBlockParser headerBlockParser = new HeaderBlockParser(headerParser, byteBufferPool, hpackDecoder, unknownBodyParser);
  HeaderBlockFragments headerBlockFragments = new HeaderBlockFragments();
  bodyParsers[FrameType.DATA.getType()] = new DataBodyParser(headerParser, listener);
  bodyParsers[FrameType.HEADERS.getType()] = new HeadersBodyParser(headerParser, listener, headerBlockParser, headerBlockFragments);
  bodyParsers[FrameType.PRIORITY.getType()] = new PriorityBodyParser(headerParser, listener);
  bodyParsers[FrameType.RST_STREAM.getType()] = new ResetBodyParser(headerParser, listener);
  bodyParsers[FrameType.SETTINGS.getType()] = new SettingsBodyParser(headerParser, listener, getMaxSettingsKeys());
  bodyParsers[FrameType.PUSH_PROMISE.getType()] = new PushPromiseBodyParser(headerParser, listener, headerBlockParser);
  bodyParsers[FrameType.PING.getType()] = new PingBodyParser(headerParser, listener);
  bodyParsers[FrameType.GO_AWAY.getType()] = new GoAwayBodyParser(headerParser, listener);
  bodyParsers[FrameType.WINDOW_UPDATE.getType()] = new WindowUpdateBodyParser(headerParser, listener);
  bodyParsers[FrameType.CONTINUATION.getType()] = new ContinuationBodyParser(headerParser, listener, headerBlockParser, headerBlockFragments);
}
origin: jenkinsci/winstone

public Generator(ByteBufferPool byteBufferPool, int maxDynamicTableSize, int maxHeaderBlockFragment)
{
  this.byteBufferPool = byteBufferPool;
  headerGenerator = new HeaderGenerator();
  hpackEncoder = new HpackEncoder(maxDynamicTableSize);
  this.generators = new FrameGenerator[FrameType.values().length];
  this.generators[FrameType.HEADERS.getType()] = new HeadersGenerator(headerGenerator, hpackEncoder, maxHeaderBlockFragment);
  this.generators[FrameType.PRIORITY.getType()] = new PriorityGenerator(headerGenerator);
  this.generators[FrameType.RST_STREAM.getType()] = new ResetGenerator(headerGenerator);
  this.generators[FrameType.SETTINGS.getType()] = new SettingsGenerator(headerGenerator);
  this.generators[FrameType.PUSH_PROMISE.getType()] = new PushPromiseGenerator(headerGenerator, hpackEncoder);
  this.generators[FrameType.PING.getType()] = new PingGenerator(headerGenerator);
  this.generators[FrameType.GO_AWAY.getType()] = new GoAwayGenerator(headerGenerator);
  this.generators[FrameType.WINDOW_UPDATE.getType()] = new WindowUpdateGenerator(headerGenerator);
  this.generators[FrameType.CONTINUATION.getType()] = null; // Never generated explicitly.
  this.generators[FrameType.PREFACE.getType()] = new PrefaceGenerator();
  this.generators[FrameType.DISCONNECT.getType()] = new DisconnectGenerator();
  this.dataGenerator = new DataGenerator(headerGenerator);
}
origin: org.eclipse.jetty.http2/http2-common

public Generator(ByteBufferPool byteBufferPool, int maxDynamicTableSize, int maxHeaderBlockFragment)
{
  this.byteBufferPool = byteBufferPool;
  headerGenerator = new HeaderGenerator();
  hpackEncoder = new HpackEncoder(maxDynamicTableSize);
  this.generators = new FrameGenerator[FrameType.values().length];
  this.generators[FrameType.HEADERS.getType()] = new HeadersGenerator(headerGenerator, hpackEncoder, maxHeaderBlockFragment);
  this.generators[FrameType.PRIORITY.getType()] = new PriorityGenerator(headerGenerator);
  this.generators[FrameType.RST_STREAM.getType()] = new ResetGenerator(headerGenerator);
  this.generators[FrameType.SETTINGS.getType()] = new SettingsGenerator(headerGenerator);
  this.generators[FrameType.PUSH_PROMISE.getType()] = new PushPromiseGenerator(headerGenerator, hpackEncoder);
  this.generators[FrameType.PING.getType()] = new PingGenerator(headerGenerator);
  this.generators[FrameType.GO_AWAY.getType()] = new GoAwayGenerator(headerGenerator);
  this.generators[FrameType.WINDOW_UPDATE.getType()] = new WindowUpdateGenerator(headerGenerator);
  this.generators[FrameType.CONTINUATION.getType()] = null; // Never generated explicitly.
  this.generators[FrameType.PREFACE.getType()] = new PrefaceGenerator();
  this.generators[FrameType.DISCONNECT.getType()] = new DisconnectGenerator();
  this.dataGenerator = new DataGenerator(headerGenerator);
}
origin: jenkinsci/winstone

public void init(UnaryOperator<Listener> wrapper)
{
  Listener listener = wrapper.apply(this.listener);
  unknownBodyParser = new UnknownBodyParser(headerParser, listener);
  HeaderBlockParser headerBlockParser = new HeaderBlockParser(headerParser, byteBufferPool, hpackDecoder, unknownBodyParser);
  HeaderBlockFragments headerBlockFragments = new HeaderBlockFragments();
  bodyParsers[FrameType.DATA.getType()] = new DataBodyParser(headerParser, listener);
  bodyParsers[FrameType.HEADERS.getType()] = new HeadersBodyParser(headerParser, listener, headerBlockParser, headerBlockFragments);
  bodyParsers[FrameType.PRIORITY.getType()] = new PriorityBodyParser(headerParser, listener);
  bodyParsers[FrameType.RST_STREAM.getType()] = new ResetBodyParser(headerParser, listener);
  bodyParsers[FrameType.SETTINGS.getType()] = new SettingsBodyParser(headerParser, listener, getMaxSettingsKeys());
  bodyParsers[FrameType.PUSH_PROMISE.getType()] = new PushPromiseBodyParser(headerParser, listener, headerBlockParser);
  bodyParsers[FrameType.PING.getType()] = new PingBodyParser(headerParser, listener);
  bodyParsers[FrameType.GO_AWAY.getType()] = new GoAwayBodyParser(headerParser, listener);
  bodyParsers[FrameType.WINDOW_UPDATE.getType()] = new WindowUpdateBodyParser(headerParser, listener);
  bodyParsers[FrameType.CONTINUATION.getType()] = new ContinuationBodyParser(headerParser, listener, headerBlockParser, headerBlockFragments);
}
origin: jenkinsci/winstone

public int control(ByteBufferPool.Lease lease, Frame frame)
{
  return generators[frame.getType().getType()].generate(lease, frame);
}
origin: org.eclipse.jetty.http2/http2-common

public int control(ByteBufferPool.Lease lease, Frame frame)
{
  return generators[frame.getType().getType()].generate(lease, frame);
}
origin: jenkinsci/winstone

if (getFrameType() != FrameType.SETTINGS.getType() || hasFlag(Flags.ACK))
origin: org.eclipse.jetty.http2/http2-common

if (getFrameType() != FrameType.SETTINGS.getType() || hasFlag(Flags.ACK))
org.eclipse.jetty.http2.framesFrameTypegetType

Popular methods of FrameType

  • from
  • values

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
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