|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Buffer | |
---|---|
org.mortbay.io | |
org.mortbay.io.bio | |
org.mortbay.io.nio | |
org.mortbay.jetty | |
org.mortbay.jetty.bio | |
org.mortbay.jetty.nio |
Uses of Buffer in org.mortbay.io |
---|
Classes in org.mortbay.io that implement Buffer | |
---|---|
class |
AbstractBuffer
|
static class |
BufferCache.CachedBuffer
|
class |
ByteArrayBuffer
|
static class |
ByteArrayBuffer.CaseInsensitive
|
class |
View
A View on another buffer. |
Methods in org.mortbay.io that return Buffer | |
---|---|
Buffer |
AbstractBuffer.asImmutableBuffer()
|
Buffer |
Buffer.asImmutableBuffer()
|
Buffer |
AbstractBuffer.asMutableBuffer()
|
Buffer |
Buffer.asMutableBuffer()
|
Buffer |
AbstractBuffer.asNonVolatileBuffer()
|
Buffer |
Buffer.asNonVolatileBuffer()
|
Buffer |
AbstractBuffer.asReadOnlyBuffer()
|
Buffer |
Buffer.asReadOnlyBuffer()
|
Buffer |
AbstractBuffer.buffer()
|
Buffer |
Buffer.buffer()
Get the unerlying buffer. |
Buffer |
View.buffer()
|
Buffer |
AbstractBuffer.get(int length)
|
Buffer |
Buffer.get(int length)
|
Buffer |
Buffers.getBuffer(int size)
|
Buffer |
SimpleBuffers.getBuffer(int size)
|
Buffer |
BufferCache.lookup(Buffer buffer)
|
Buffer |
BufferCache.lookup(String value)
|
Buffer |
AbstractBuffer.peek(int index,
int length)
|
Buffer |
Buffer.peek(int index,
int length)
|
Buffer |
View.peek(int index,
int length)
|
Buffer |
AbstractBuffer.slice()
|
Buffer |
Buffer.slice()
|
Buffer |
AbstractBuffer.sliceFromMark()
|
Buffer |
Buffer.sliceFromMark()
|
Buffer |
AbstractBuffer.sliceFromMark(int length)
|
Buffer |
Buffer.sliceFromMark(int length)
|
static Buffer |
BufferUtil.toBuffer(long value)
|
Methods in org.mortbay.io with parameters of type Buffer | |
---|---|
boolean |
AbstractBuffer.equalsIgnoreCase(Buffer b)
|
boolean |
Buffer.equalsIgnoreCase(Buffer buffer)
|
int |
ByteArrayEndPoint.fill(Buffer buffer)
|
int |
EndPoint.fill(Buffer buffer)
Fill the buffer from the current putIndex to it's capacity from whatever byte source is backing the buffer. |
int |
ByteArrayEndPoint.flush(Buffer buffer)
|
int |
EndPoint.flush(Buffer buffer)
Flush the buffer from the current getIndex to it's putIndex using whatever byte sink is backing the buffer. |
int |
ByteArrayEndPoint.flush(Buffer header,
Buffer buffer,
Buffer trailer)
|
int |
EndPoint.flush(Buffer header,
Buffer buffer,
Buffer trailer)
Flush the buffer from the current getIndex to it's putIndex using whatever byte sink is backing the buffer. |
BufferCache.CachedBuffer |
BufferCache.get(Buffer buffer)
|
int |
BufferCache.getOrdinal(Buffer buffer)
|
static boolean |
BufferUtil.isPrefix(Buffer prefix,
Buffer buffer)
|
Buffer |
BufferCache.lookup(Buffer buffer)
|
int |
AbstractBuffer.poke(int index,
Buffer src)
|
int |
Buffer.poke(int index,
Buffer src)
Put the contents of the buffer at the specific index. |
int |
View.poke(int index,
Buffer src)
|
static void |
BufferUtil.prependHexInt(Buffer buffer,
int n)
Add hex integer BEFORE current getIndex. |
int |
AbstractBuffer.put(Buffer src)
|
int |
Buffer.put(Buffer src)
Write the bytes from the source buffer to the current getIndex. |
static void |
BufferUtil.putCRLF(Buffer buffer)
|
static void |
BufferUtil.putDecInt(Buffer buffer,
int n)
|
static void |
BufferUtil.putDecLong(Buffer buffer,
long n)
|
static void |
BufferUtil.putHexInt(Buffer buffer,
int n)
|
void |
Buffers.returnBuffer(Buffer buffer)
|
void |
SimpleBuffers.returnBuffer(Buffer buffer)
|
static int |
BufferUtil.toInt(Buffer buffer)
Convert buffer to an integer. |
static long |
BufferUtil.toLong(Buffer buffer)
Convert buffer to an long. |
String |
BufferCache.toString(Buffer buffer)
|
void |
View.update(Buffer buffer)
Update view to buffer |
Constructors in org.mortbay.io with parameters of type Buffer | |
---|---|
SimpleBuffers(Buffer[] buffers)
|
|
View(Buffer buffer)
|
|
View(Buffer buffer,
int mark,
int get,
int put,
int access)
|
Uses of Buffer in org.mortbay.io.bio |
---|
Methods in org.mortbay.io.bio with parameters of type Buffer | |
---|---|
int |
StreamEndPoint.fill(Buffer buffer)
|
int |
StreamEndPoint.flush(Buffer buffer)
|
int |
StreamEndPoint.flush(Buffer header,
Buffer buffer,
Buffer trailer)
|
Uses of Buffer in org.mortbay.io.nio |
---|
Classes in org.mortbay.io.nio that implement Buffer | |
---|---|
class |
NIOBuffer
|
Methods in org.mortbay.io.nio with parameters of type Buffer | |
---|---|
int |
ChannelEndPoint.fill(Buffer buffer)
|
int |
ChannelEndPoint.flush(Buffer buffer)
|
int |
SelectChannelEndPoint.flush(Buffer buffer)
|
int |
ChannelEndPoint.flush(Buffer header,
Buffer buffer,
Buffer trailer)
|
int |
SelectChannelEndPoint.flush(Buffer header,
Buffer buffer,
Buffer trailer)
|
int |
NIOBuffer.poke(int index,
Buffer src)
|
Uses of Buffer in org.mortbay.jetty |
---|
Methods in org.mortbay.jetty that return Buffer | |
---|---|
Buffer |
HttpFields.get(Buffer name)
|
Buffer |
HttpContent.getBuffer()
|
Buffer |
ResourceCache.Content.getBuffer()
|
Buffer |
AbstractBuffers.getBuffer(int size)
|
Buffer |
HttpContent.getContentType()
|
Buffer |
ResourceCache.Content.getContentType()
|
Buffer |
HttpParser.getHeaderBuffer()
|
Buffer |
HttpContent.getLastModified()
|
Buffer |
ResourceCache.Content.getLastModified()
|
Buffer |
MimeTypes.getMimeByExtension(String filename)
Get the MIME type by filename extension. |
protected static Buffer |
AbstractGenerator.getReasonBuffer(int code)
|
static Buffer |
HttpStatus.getResponseLine(int status)
|
Buffer |
AbstractGenerator.getUncheckedBuffer()
|
Buffer |
HttpFields.Field.getValueBuffer()
|
protected abstract Buffer |
AbstractBuffers.newBuffer(int size)
|
protected Buffer |
LocalConnector.newBuffer(int size)
|
Methods in org.mortbay.jetty with parameters of type Buffer | |
---|---|
void |
HttpFields.add(Buffer name,
Buffer value)
Add to or set a field. |
void |
Generator.addContent(Buffer content,
boolean last)
Add content. |
void |
HttpGenerator.addContent(Buffer content,
boolean last)
Add content. |
void |
HttpFields.addLongField(Buffer name,
long value)
Sets the value of an long field. |
boolean |
HttpFields.containsKey(Buffer name)
|
abstract void |
HttpParser.EventHandler.content(Buffer ref)
|
Buffer |
HttpFields.get(Buffer name)
|
static String |
MimeTypes.getCharsetFromContentType(Buffer value)
|
long |
HttpFields.getLongField(Buffer name)
Get a header as an long value. |
String |
HttpFields.getStringField(Buffer name)
|
Enumeration |
HttpFields.getValues(Buffer name)
Get multi headers |
void |
HttpParser.EventHandler.parsedHeader(Buffer name,
Buffer value)
This is the method called by parser when a HTTP Header name and value is found |
void |
HttpFields.put(Buffer buffer)
|
void |
HttpFields.Field.put(Buffer buffer)
|
void |
HttpFields.put(Buffer name,
Buffer value)
Set a field. |
void |
HttpFields.put(Buffer name,
String value)
Set a field. |
void |
HttpFields.putDateField(Buffer name,
long date)
Sets the value of a date field. |
void |
HttpFields.putLongField(Buffer name,
long value)
Sets the value of an long field. |
void |
HttpFields.remove(Buffer name)
Remove a field. |
void |
AbstractBuffers.returnBuffer(Buffer buffer)
|
void |
ResourceCache.Content.setBuffer(Buffer buffer)
|
void |
ResourceCache.Content.setContentType(Buffer type)
|
abstract void |
HttpParser.EventHandler.startRequest(Buffer method,
Buffer url,
Buffer version)
This is the method called by parser when the HTTP request line is parsed |
abstract void |
HttpParser.EventHandler.startResponse(Buffer version,
int status,
Buffer reason)
This is the method called by parser when the HTTP request line is parsed |
String |
HttpParser.toString(Buffer buf)
|
Constructors in org.mortbay.jetty with parameters of type Buffer | |
---|---|
HttpParser(Buffer buffer,
HttpParser.EventHandler handler)
Constructor. |
Uses of Buffer in org.mortbay.jetty.bio |
---|
Methods in org.mortbay.jetty.bio that return Buffer | |
---|---|
protected Buffer |
SocketConnector.newBuffer(int size)
|
Methods in org.mortbay.jetty.bio with parameters of type Buffer | |
---|---|
int |
SocketConnector.Connection.fill(Buffer buffer)
|
Uses of Buffer in org.mortbay.jetty.nio |
---|
Methods in org.mortbay.jetty.nio that return Buffer | |
---|---|
protected Buffer |
AbstractNIOConnector.newBuffer(int size)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |