Uses of Interface
org.mortbay.io.Buffer

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 View.buffer()
           
 Buffer View.peek(int index, int length)
           
 Buffer SimpleBuffers.getBuffer(int size)
           
 Buffer Buffers.getBuffer(int size)
           
static Buffer BufferUtil.toBuffer(long value)
           
 Buffer BufferCache.lookup(Buffer buffer)
           
 Buffer BufferCache.lookup(String value)
           
 Buffer Buffer.buffer()
          Get the unerlying buffer.
 Buffer Buffer.asNonVolatileBuffer()
           
 Buffer Buffer.asReadOnlyBuffer()
           
 Buffer Buffer.asImmutableBuffer()
           
 Buffer Buffer.asMutableBuffer()
           
 Buffer Buffer.get(int length)
           
 Buffer Buffer.peek(int index, int length)
           
 Buffer Buffer.slice()
           
 Buffer Buffer.sliceFromMark()
           
 Buffer Buffer.sliceFromMark(int length)
           
 Buffer AbstractBuffer.asNonVolatileBuffer()
           
 Buffer AbstractBuffer.asImmutableBuffer()
           
 Buffer AbstractBuffer.asReadOnlyBuffer()
           
 Buffer AbstractBuffer.asMutableBuffer()
           
 Buffer AbstractBuffer.buffer()
           
 Buffer AbstractBuffer.get(int length)
           
 Buffer AbstractBuffer.peek(int index, int length)
           
 Buffer AbstractBuffer.slice()
           
 Buffer AbstractBuffer.sliceFromMark()
           
 Buffer AbstractBuffer.sliceFromMark(int length)
           
 

Methods in org.mortbay.io with parameters of type Buffer
 void View.update(Buffer buffer)
          Update view to buffer
 int View.poke(int index, Buffer src)
           
 void SimpleBuffers.returnBuffer(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 EndPoint.flush(Buffer buffer)
          Flush the buffer from the current getIndex to it's putIndex using whatever byte sink is backing the buffer.
 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.
 int ByteArrayEndPoint.fill(Buffer buffer)
           
 int ByteArrayEndPoint.flush(Buffer buffer)
           
 int ByteArrayEndPoint.flush(Buffer header, Buffer buffer, Buffer trailer)
           
 void Buffers.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.
static void BufferUtil.putHexInt(Buffer buffer, int n)
           
static void BufferUtil.prependHexInt(Buffer buffer, int n)
          Add hex integer BEFORE current getIndex.
static void BufferUtil.putDecInt(Buffer buffer, int n)
           
static void BufferUtil.putDecLong(Buffer buffer, long n)
           
static void BufferUtil.putCRLF(Buffer buffer)
           
static boolean BufferUtil.isPrefix(Buffer prefix, Buffer buffer)
           
 BufferCache.CachedBuffer BufferCache.get(Buffer buffer)
           
 Buffer BufferCache.lookup(Buffer buffer)
           
 String BufferCache.toString(Buffer buffer)
           
 int BufferCache.getOrdinal(Buffer buffer)
           
 boolean Buffer.equalsIgnoreCase(Buffer buffer)
           
 int Buffer.poke(int index, Buffer src)
          Put the contents of the buffer at the specific index.
 int Buffer.put(Buffer src)
          Write the bytes from the source buffer to the current getIndex.
 boolean AbstractBuffer.equalsIgnoreCase(Buffer b)
           
 int AbstractBuffer.poke(int index, Buffer src)
           
 int AbstractBuffer.put(Buffer src)
           
 

Constructors in org.mortbay.io with parameters of type Buffer
View(Buffer buffer, int mark, int get, int put, int access)
           
View(Buffer buffer)
           
SimpleBuffers(Buffer[] buffers)
           
 

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 NIOBuffer.poke(int index, Buffer src)
           
 int ChannelEndPoint.fill(Buffer buffer)
           
 int ChannelEndPoint.flush(Buffer buffer)
           
 int ChannelEndPoint.flush(Buffer header, Buffer buffer, Buffer trailer)
           
 

Uses of Buffer in org.mortbay.jetty
 

Fields in org.mortbay.jetty declared as Buffer
static Buffer HttpVersions.HTTP_0_9_BUFFER
           
static Buffer HttpVersions.HTTP_1_0_BUFFER
           
static Buffer HttpVersions.HTTP_1_1_BUFFER
           
static Buffer HttpStatus.Continue_BUFFER
           
static Buffer HttpStatus.Switching_Protocols_BUFFER
           
static Buffer HttpStatus.Processing_BUFFER
           
static Buffer HttpStatus.OK_BUFFER
           
static Buffer HttpStatus.Created_BUFFER
           
static Buffer HttpStatus.Accepted_BUFFER
           
static Buffer HttpStatus.Non_Authoritative_Information_BUFFER
           
static Buffer HttpStatus.No_Content_BUFFER
           
static Buffer HttpStatus.Reset_Content_BUFFER
           
static Buffer HttpStatus.Partial_Content_BUFFER
           
static Buffer HttpStatus.Multi_Status_BUFFER
           
static Buffer HttpStatus.Multiple_Choices_BUFFER
           
static Buffer HttpStatus.Moved_Permanently_BUFFER
           
static Buffer HttpStatus.Moved_Temporarily_BUFFER
           
static Buffer HttpStatus.Found_BUFFER
           
static Buffer HttpStatus.See_Other_BUFFER
           
static Buffer HttpStatus.Not_Modified_BUFFER
           
static Buffer HttpStatus.Use_Proxy_BUFFER
           
static Buffer HttpStatus.Bad_Request_BUFFER
           
static Buffer HttpStatus.Unauthorized_BUFFER
           
static Buffer HttpStatus.Payment_Required_BUFFER
           
static Buffer HttpStatus.Forbidden_BUFFER
           
static Buffer HttpStatus.Not_Found_BUFFER
           
static Buffer HttpStatus.Method_Not_Allowed_BUFFER
           
static Buffer HttpStatus.Not_Acceptable_BUFFER
           
static Buffer HttpStatus.Proxy_Authentication_Required_BUFFER
           
static Buffer HttpStatus.Request_Timeout_BUFFER
           
static Buffer HttpStatus.Conflict_BUFFER
           
static Buffer HttpStatus.Gone_BUFFER
           
static Buffer HttpStatus.Length_Required_BUFFER
           
static Buffer HttpStatus.Precondition_Failed_BUFFER
           
static Buffer HttpStatus.Request_Entity_Too_Large_BUFFER
           
static Buffer HttpStatus.Request_URI_Too_Large_BUFFER
           
static Buffer HttpStatus.Unsupported_Media_Type_BUFFER
           
static Buffer HttpStatus.Requested_Range_Not_Satisfiable_BUFFER
           
static Buffer HttpStatus.Expectation_Failed_BUFFER
           
static Buffer HttpStatus.Unprocessable_Entity_BUFFER
           
static Buffer HttpStatus.Locked_BUFFER
           
static Buffer HttpStatus.Failed_Dependency_BUFFER
           
static Buffer HttpStatus.Internal_Server_Error_BUFFER
           
static Buffer HttpStatus.Not_Implemented_BUFFER
           
static Buffer HttpStatus.Bad_Gateway_BUFFER
           
static Buffer HttpStatus.Service_Unavailable_BUFFER
           
static Buffer HttpStatus.Gateway_Timeout_BUFFER
           
static Buffer HttpStatus.HTTP_Version_Not_Supported_BUFFER
           
static Buffer HttpStatus.Insufficient_Storage_BUFFER
           
static Buffer HttpStatus.Unknown_BUFFER
           
static Buffer HttpMethods.GET_BUFFER
           
static Buffer HttpMethods.POST_BUFFER
           
static Buffer HttpMethods.HEAD_BUFFER
           
static Buffer HttpMethods.PUT_BUFFER
           
static Buffer HttpMethods.OPTIONS_BUFFER
           
static Buffer HttpMethods.DELETE_BUFFER
           
static Buffer HttpMethods.TRACE_BUFFER
           
static Buffer HttpMethods.CONNECT_BUFFER
           
static Buffer HttpMethods.MOVE_BUFFER
           
static Buffer HttpHeaders.HOST_BUFFER
           
static Buffer HttpHeaders.ACCEPT_BUFFER
           
static Buffer HttpHeaders.ACCEPT_CHARSET_BUFFER
           
static Buffer HttpHeaders.ACCEPT_ENCODING_BUFFER
           
static Buffer HttpHeaders.ACCEPT_LANGUAGE_BUFFER
           
static Buffer HttpHeaders.CONTENT_LENGTH_BUFFER
           
static Buffer HttpHeaders.CONNECTION_BUFFER
           
static Buffer HttpHeaders.CACHE_CONTROL_BUFFER
           
static Buffer HttpHeaders.DATE_BUFFER
           
static Buffer HttpHeaders.PRAGMA_BUFFER
           
static Buffer HttpHeaders.TRAILER_BUFFER
           
static Buffer HttpHeaders.TRANSFER_ENCODING_BUFFER
           
static Buffer HttpHeaders.UPGRADE_BUFFER
           
static Buffer HttpHeaders.VIA_BUFFER
           
static Buffer HttpHeaders.WARNING_BUFFER
           
static Buffer HttpHeaders.ALLOW_BUFFER
           
static Buffer HttpHeaders.CONTENT_ENCODING_BUFFER
           
static Buffer HttpHeaders.CONTENT_LANGUAGE_BUFFER
           
static Buffer HttpHeaders.CONTENT_LOCATION_BUFFER
           
static Buffer HttpHeaders.CONTENT_MD5_BUFFER
           
static Buffer HttpHeaders.CONTENT_RANGE_BUFFER
           
static Buffer HttpHeaders.CONTENT_TYPE_BUFFER
           
static Buffer HttpHeaders.EXPIRES_BUFFER
           
static Buffer HttpHeaders.LAST_MODIFIED_BUFFER
           
static Buffer HttpHeaders.AUTHORIZATION_BUFFER
           
static Buffer HttpHeaders.EXPECT_BUFFER
           
static Buffer HttpHeaders.FORWARDED_BUFFER
           
static Buffer HttpHeaders.FROM_BUFFER
           
static Buffer HttpHeaders.IF_MATCH_BUFFER
           
static Buffer HttpHeaders.IF_MODIFIED_SINCE_BUFFER
           
static Buffer HttpHeaders.IF_NONE_MATCH_BUFFER
           
static Buffer HttpHeaders.IF_RANGE_BUFFER
           
static Buffer HttpHeaders.IF_UNMODIFIED_SINCE_BUFFER
           
static Buffer HttpHeaders.KEEP_ALIVE_BUFFER
           
static Buffer HttpHeaders.MAX_FORWARDS_BUFFER
           
static Buffer HttpHeaders.PROXY_AUTHORIZATION_BUFFER
           
static Buffer HttpHeaders.RANGE_BUFFER
           
static Buffer HttpHeaders.REQUEST_RANGE_BUFFER
           
static Buffer HttpHeaders.REFERER_BUFFER
           
static Buffer HttpHeaders.TE_BUFFER
           
static Buffer HttpHeaders.USER_AGENT_BUFFER
           
static Buffer HttpHeaders.X_FORWARDED_FOR_BUFFER
           
static Buffer HttpHeaders.ACCEPT_RANGES_BUFFER
           
static Buffer HttpHeaders.AGE_BUFFER
           
static Buffer HttpHeaders.ETAG_BUFFER
           
static Buffer HttpHeaders.LOCATION_BUFFER
           
static Buffer HttpHeaders.PROXY_AUTHENTICATE_BUFFER
           
static Buffer HttpHeaders.RETRY_AFTER_BUFFER
           
static Buffer HttpHeaders.SERVER_BUFFER
           
static Buffer HttpHeaders.SERVLET_ENGINE_BUFFER
           
static Buffer HttpHeaders.VARY_BUFFER
           
static Buffer HttpHeaders.WWW_AUTHENTICATE_BUFFER
           
static Buffer HttpHeaders.COOKIE_BUFFER
           
static Buffer HttpHeaders.SET_COOKIE_BUFFER
           
static Buffer HttpHeaders.SET_COOKIE2_BUFFER
           
static Buffer HttpHeaders.MIME_VERSION_BUFFER
           
static Buffer HttpHeaders.IDENTITY_BUFFER
           
static Buffer HttpHeaderValues.CLOSE_BUFFER
           
static Buffer HttpHeaderValues.CHUNKED_BUFFER
           
static Buffer HttpHeaderValues.GZIP_BUFFER
           
static Buffer HttpHeaderValues.IDENTITY_BUFFER
           
static Buffer HttpHeaderValues.KEEP_ALIVE_BUFFER
           
static Buffer HttpHeaderValues.CONTINUE_BUFFER
           
static Buffer HttpFields.__01Jan1970_BUFFER
           
 

Methods in org.mortbay.jetty that return Buffer
 Buffer ResourceCache.Content.getLastModified()
           
 Buffer ResourceCache.Content.getContentType()
           
 Buffer ResourceCache.Content.getBuffer()
           
 Buffer MimeTypes.getMimeByExtension(String filename)
          Get the MIME type by filename extension.
static Buffer HttpStatus.getResponseLine(int status)
           
 Buffer HttpGenerator.getUncheckedBuffer()
           
 Buffer HttpFields.get(Buffer name)
           
 Buffer HttpContent.getContentType()
           
 Buffer HttpContent.getLastModified()
           
 Buffer HttpContent.getBuffer()
           
protected abstract  Buffer AbstractConnector.newBuffer(int size)
           
 Buffer AbstractConnector.getBuffer(int size)
           
 

Methods in org.mortbay.jetty with parameters of type Buffer
 void ResourceCache.Content.setContentType(Buffer type)
           
 void ResourceCache.Content.setBuffer(Buffer buffer)
           
 String HttpParser.toString(Buffer buf)
           
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
 void HttpParser.EventHandler.parsedHeader(Buffer name, Buffer value)
          This is the method called by parser when a HTTP Header name and value is found
abstract  void HttpParser.EventHandler.content(Buffer ref)
           
 void HttpGenerator.setRequest(Buffer method, Buffer uri)
           
 void HttpGenerator.addContent(Buffer content, boolean last)
          Add content.
 boolean HttpFields.containsKey(Buffer name)
           
 String HttpFields.getStringField(Buffer name)
           
 Buffer HttpFields.get(Buffer name)
           
 Enumeration HttpFields.getValues(Buffer name)
          Get multi headers
 void HttpFields.put(Buffer name, String value)
          Set a field.
 void HttpFields.put(Buffer name, Buffer value)
          Set a field.
 void HttpFields.add(Buffer name, Buffer value)
          Add to or set a field.
 void HttpFields.remove(Buffer name)
          Remove a field.
 long HttpFields.getLongField(Buffer name)
          Get a header as an long value.
 void HttpFields.addLongField(Buffer name, long value)
          Sets the value of an long field.
 void HttpFields.put(Buffer buffer)
           
 void HttpFields.Field.put(Buffer buffer)
           
 void AbstractConnector.returnBuffer(Buffer buffer)
           
 

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)
           
 

Methods in org.mortbay.jetty.nio with parameters of type Buffer
 int HttpChannelEndPoint.fill(Buffer buffer)
           
 int HttpChannelEndPoint.flush(Buffer header, Buffer buffer, Buffer trailer)
           
 int HttpChannelEndPoint.flush(Buffer buffer)