congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
BinaryWebSocketFrame.isFinalFragment
Code IndexAdd Tabnine to your IDE (free)

How to use
isFinalFragment
method
in
io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame

Best Java code snippets using io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame.isFinalFragment (Showing top 9 results out of 315)

origin: AsyncHttpClient/async-http-client

private void onBinaryFrame(BinaryWebSocketFrame frame) {
 if (expectedFragmentedFrameType == null && !frame.isFinalFragment()) {
  expectedFragmentedFrameType = FragmentedFrameType.BINARY;
 }
 onBinaryFrame0(frame);
}
origin: wildfly/wildfly

@Override
public BinaryWebSocketFrame replace(ByteBuf content) {
  return new BinaryWebSocketFrame(isFinalFragment(), rsv(), content);
}
origin: io.netty/netty-codec-http

@Override
public BinaryWebSocketFrame replace(ByteBuf content) {
  return new BinaryWebSocketFrame(isFinalFragment(), rsv(), content);
}
origin: apache/activemq-artemis

@Override
public BinaryWebSocketFrame replace(ByteBuf content) {
  return new BinaryWebSocketFrame(isFinalFragment(), rsv(), content);
}
origin: org.jboss.eap/wildfly-client-all

@Override
public BinaryWebSocketFrame replace(ByteBuf content) {
  return new BinaryWebSocketFrame(isFinalFragment(), rsv(), content);
}
origin: org.apache.activemq/artemis-jms-client-all

@Override
public BinaryWebSocketFrame replace(ByteBuf content) {
  return new BinaryWebSocketFrame(isFinalFragment(), rsv(), content);
}
origin: org.wso2.carbon.transport/org.wso2.carbon.transport.http.netty

private void notifyBinaryMessage(BinaryWebSocketFrame binaryWebSocketFrame) throws ServerConnectorException {
  ByteBuf byteBuf = binaryWebSocketFrame.content();
  boolean finalFragment = binaryWebSocketFrame.isFinalFragment();
  ByteBuffer byteBuffer = byteBuf.nioBuffer();
  WebSocketMessageImpl webSocketBinaryMessage =
      new WebSocketBinaryMessageImpl(byteBuffer, finalFragment);
  webSocketBinaryMessage = setupCommonProperties(webSocketBinaryMessage);
  connectorFuture.notifyWSListener((WebSocketBinaryMessage) webSocketBinaryMessage);
}
origin: org.wso2.carbon.transport/org.wso2.carbon.transport.http.netty

private void notifyBinaryMessage(BinaryWebSocketFrame binaryWebSocketFrame, ChannelHandlerContext ctx)
    throws ServerConnectorException {
  ByteBuf byteBuf = binaryWebSocketFrame.content();
  boolean finalFragment = binaryWebSocketFrame.isFinalFragment();
  ByteBuffer byteBuffer = byteBuf.nioBuffer();
  WebSocketMessageImpl webSocketBinaryMessage =
      new WebSocketBinaryMessageImpl(byteBuffer, finalFragment);
  webSocketBinaryMessage = setupCommonProperties(webSocketBinaryMessage, ctx);
  connectorListener.onMessage((WebSocketBinaryMessage) webSocketBinaryMessage);
}
origin: org.wso2.transport.http/org.wso2.transport.http.netty

} else if (msg instanceof BinaryWebSocketFrame) {
  BinaryWebSocketFrame binaryFrame = (BinaryWebSocketFrame) msg;
  if (!binaryFrame.isFinalFragment()) {
    continuationFrameType = WebSocketFrameType.BINARY;
  notifyBinaryMessage(binaryFrame, binaryFrame.content(), binaryFrame.isFinalFragment());
} else if (msg instanceof CloseWebSocketFrame) {
  closeFrameReceived = true;
io.netty.handler.codec.http.websocketxBinaryWebSocketFrameisFinalFragment

Popular methods of BinaryWebSocketFrame

  • <init>
  • content
  • rsv
  • retain

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • getSupportFragmentManager (FragmentActivity)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • 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