/** * Create a partial binary frame with the given string fragment, and * indication of whether this is the last or not of a series. * * @param bb * @param isLast */ public Frame.Data.Binary.Continuation createBinaryContinuationFrame( ByteBuffer bb, boolean isLast) { return new BinaryFrame(bb, isLast); }
/** * This method is invoked whenever the implementation is ready to invoke * this framehandler as part of the framehandler chain. The defauly * implementation in this class is a no-op: i.e. it simply invokes the next * handler in the chain with the frame passed in. */ public void handleFrame(Frame f) { nextHandler.handleFrame(f); } }
/** * Create a text frame with the given string data. */ public Frame.Data.Text createTextFrame(final String s) { return new TextFrame(s); } }
/** * Create a partial binary frame with the given string fragment, and * indication of whether this is the last or not of a series. * * @param bb * @param isLast */ public Frame.Data.Binary.Continuation createBinaryContinuationFrame( ByteBuffer bb, boolean isLast) { return new BinaryFrame(bb, isLast); }
/** * Create a partial text frame with the given string fragment, and * indication of whether this is the last or not of a series. * * @param s * @param isLast */ public Frame.Data.Text.Continuation createTextContinuationFrame(String s, boolean isLast) { return new TextFrame(s, isLast); }
/** * This method is invoked whenever the implementation is ready to invoke * this framehandler as part of the framehandler chain. The defauly * implementation in this class is a no-op: i.e. it simply invokes the next * handler in the chain with the frame passed in. */ public void handleFrame(Frame f) { nextHandler.handleFrame(f); } }
/** * Create a partial binary frame with the given string fragment, and * indication of whether this is the last or not of a series. * * @param bb * @param isLast */ public Frame.Data.Binary.Continuation createBinaryContinuationFrame( ByteBuffer bb, boolean isLast) { return new BinaryFrame(bb, isLast); }
/** * Create a partial text frame with the given string fragment, and * indication of whether this is the last or not of a series. * * @param s * @param isLast */ public Frame.Data.Text.Continuation createTextContinuationFrame(String s, boolean isLast) { return new TextFrame(s, isLast); }
/** * This method is invoked whenever the implementation is ready to invoke * this framehandler as part of the framehandler chain. The defauly * implementation in this class is a no-op: i.e. it simply invokes the next * handler in the chain with the frame passed in. */ public void handleFrame(Frame f) { nextHandler.handleFrame(f); } }
/** * Create a binary data frame with the given bytes. */ public Frame.Data.Binary createBinaryFrame(final ByteBuffer bb) { return new BinaryFrame(bb); }
/** * Create a text frame with the given string data. */ public Frame.Data.Text createTextFrame(final String s) { return new TextFrame(s); } }
/** * Create a binary data frame with the given bytes. */ public Frame.Data.Binary createBinaryFrame(final ByteBuffer bb) { return new BinaryFrame(bb); }
/** * Create a partial text frame with the given string fragment, and * indication of whether this is the last or not of a series. * * @param s * @param isLast */ public Frame.Data.Text.Continuation createTextContinuationFrame(String s, boolean isLast) { return new TextFrame(s, isLast); }
/** * Create a binary data frame with the given bytes. */ public Frame.Data.Binary createBinaryFrame(final ByteBuffer bb) { return new BinaryFrame(bb); }
/** * Create a text frame with the given string data. */ public Frame.Data.Text createTextFrame(final String s) { return new TextFrame(s); } }