@Override public void sendText(String fragment, boolean isLast) throws IOException { base.sendPartialString(fragment, isLast); }
@Override public void sendText(String fragment, boolean isLast) throws IOException { base.sendPartialString(fragment, isLast); }
@Override public void sendText(String fragment, boolean isLast) throws IOException { base.sendPartialString(fragment, isLast); }
@Override public void sendText(String fragment, boolean isLast) throws IOException { base.sendPartialString(fragment, isLast); }
@Override public void sendText(String fragment, boolean isLast) throws IOException { base.sendPartialString(fragment, isLast); }
private void doWrite(boolean last) throws IOException { buffer.flip(); endpoint.sendPartialString(buffer, last); buffer.clear(); } }
private void doWrite(boolean last) throws IOException { buffer.flip(); endpoint.sendPartialString(buffer, last); buffer.clear(); } }
private void doWrite(boolean last) throws IOException { if (!Constants.STREAMS_DROP_EMPTY_MESSAGES || used) { buffer.flip(); endpoint.sendPartialString(buffer, last); buffer.clear(); } else { endpoint.stateMachine.complete(last); } } }
public void sendPartialString(String fragment, boolean isLast) throws IOException { stateMachine.textPartialStart(); sendPartialString(CharBuffer.wrap(fragment), isLast); }
public void sendString(String text) throws IOException { stateMachine.textStart(); sendPartialString(CharBuffer.wrap(text), true); }
public void sendString(String text) throws IOException { if (text == null) { throw new IllegalArgumentException(sm.getString("wsRemoteEndpoint.nullData")); } stateMachine.textStart(); sendPartialString(CharBuffer.wrap(text), true); }
public void sendPartialString(String fragment, boolean isLast) throws IOException { if (fragment == null) { throw new IllegalArgumentException(sm.getString("wsRemoteEndpoint.nullData")); } stateMachine.textPartialStart(); sendPartialString(CharBuffer.wrap(fragment), isLast); }
public void sendString(String text) throws IOException { if (text == null) { throw MESSAGES.invalidNullData(); } stateMachine.textStart(); sendPartialString(CharBuffer.wrap(text), true); }
public void sendPartialString(String fragment, boolean isLast) throws IOException { if (fragment == null) { throw MESSAGES.invalidNullData(); } stateMachine.textPartialStart(); sendPartialString(CharBuffer.wrap(fragment), isLast); }