本文整理了Java中org.eclipse.jetty.io.Buffer.poke()
方法的一些代码示例,展示了Buffer.poke()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Buffer.poke()
方法的具体详情如下:
包路径:org.eclipse.jetty.io.Buffer
类名称:Buffer
方法名:poke
[英]Put a specific byte to a specific getIndex.
[中]将特定字节放入特定的getIndex。
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
/**
* @param index
* @param src
*/
@Override
public int poke(int index, Buffer src)
{
return _buffer.poke(index,src);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
/**
* @param index
* @param b
* @param offset
* @param length
*/
@Override
public int poke(int index, byte[] b, int offset, int length)
{
return _buffer.poke(index,b,offset,length);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
/**
* @param index
* @param b
*/
public void poke(int index, byte b)
{
_buffer.poke(index,b);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
/**
* @param index
* @param b
*/
public void poke(int index, byte b)
{
_buffer.poke(index,b);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
/**
* @param index
* @param b
* @param offset
* @param length
*/
@Override
public int poke(int index, byte[] b, int offset, int length)
{
return _buffer.poke(index,b,offset,length);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
private void addInt(int startIndex, int i)
{
_buffer.poke(startIndex,(byte)((i >> 8) & 0xFF));
_buffer.poke((startIndex + 1),(byte)(i & 0xFF));
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server
/**
* @param index
* @param src
*/
@Override
public int poke(int index, Buffer src)
{
return _buffer.poke(index,src);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server
/**
* @param index
* @param b
*/
public void poke(int index, byte b)
{
_buffer.poke(index,b);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
/**
* @param index
* @param b
* @param offset
* @param length
*/
@Override
public int poke(int index, byte[] b, int offset, int length)
{
return _buffer.poke(index,b,offset,length);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
/**
* @param index
* @param src
*/
@Override
public int poke(int index, Buffer src)
{
return _buffer.poke(index,src);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server
/**
* @param index
* @param b
* @param offset
* @param length
*/
@Override
public int poke(int index, byte[] b, int offset, int length)
{
return _buffer.poke(index,b,offset,length);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
/**
* @param index
* @param b
*/
public void poke(int index, byte b)
{
_buffer.poke(index,b);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
/**
* @param index
* @param src
*/
@Override
public int poke(int index, Buffer src)
{
return _buffer.poke(index,src);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
buffer.poke(--gi,(byte)'0');
buffer.setGetIndex(gi);
buffer.poke(--gi,DIGIT[d]);
buffer.poke(--gi,(byte)'-');
buffer.setGetIndex(gi);
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
buffer.poke(--gi,(byte)'0');
buffer.setGetIndex(gi);
buffer.poke(--gi,DIGIT[d]);
buffer.poke(--gi,(byte)'-');
buffer.setGetIndex(gi);
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
buffer.poke(--gi,(byte)'0');
buffer.setGetIndex(gi);
buffer.poke(--gi,DIGIT[d]);
buffer.poke(--gi,(byte)'-');
buffer.setGetIndex(gi);
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server
buffer.poke(--gi,(byte)'0');
buffer.setGetIndex(gi);
buffer.poke(--gi,DIGIT[d]);
buffer.poke(--gi,(byte)'-');
buffer.setGetIndex(gi);
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
_buffer.poke(_buffer.getIndex() - 2, HttpTokens.CRLF, 0, 2);
_buffer.setGetIndex(_buffer.getIndex() - 2);
BufferUtil.prependHexInt(_buffer, size);
_buffer.poke(_buffer.getIndex() - 2, HttpTokens.CRLF, 0, 2);
_buffer.setGetIndex(_buffer.getIndex() - 2);
_needCRLF = false;
代码示例来源:origin: org.eclipse.jetty/http
_buffer.poke(_buffer.getIndex() - 2, HttpTokens.CRLF, 0, 2);
_buffer.setGetIndex(_buffer.getIndex() - 2);
BufferUtil.prependHexInt(_buffer, size);
_buffer.poke(_buffer.getIndex() - 2, HttpTokens.CRLF, 0, 2);
_buffer.setGetIndex(_buffer.getIndex() - 2);
_needCRLF = false;
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
_buffer.poke(_buffer.getIndex() - 2, HttpTokens.CRLF, 0, 2);
_buffer.setGetIndex(_buffer.getIndex() - 2);
BufferUtil.prependHexInt(_buffer, size);
_buffer.poke(_buffer.getIndex() - 2, HttpTokens.CRLF, 0, 2);
_buffer.setGetIndex(_buffer.getIndex() - 2);
_needCRLF = false;
内容来源于网络,如有侵权,请联系作者删除!