Uses of Interface
org.eclipse.jetty.io.Buffer

Packages that use Buffer
org.eclipse.jetty.http   
org.eclipse.jetty.io   
org.eclipse.jetty.io.bio   
org.eclipse.jetty.io.nio   
org.eclipse.jetty.server   
org.eclipse.jetty.server.bio   
org.eclipse.jetty.server.handler   
 

Uses of Buffer in org.eclipse.jetty.http
 

Fields in org.eclipse.jetty.http declared as Buffer
static Buffer HttpFields.__01Jan1970_BUFFER
           
protected  Buffer AbstractGenerator._buffer
           
protected  Buffer AbstractGenerator._content
           
protected  Buffer AbstractGenerator._date
           
protected  Buffer AbstractGenerator._header
           
protected  Buffer AbstractGenerator._method
           
protected  Buffer AbstractGenerator._reason
           
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.ACCEPT_RANGES_BUFFER
           
static Buffer HttpHeaders.AGE_BUFFER
           
static Buffer HttpHeaders.ALLOW_BUFFER
           
static Buffer HttpHeaders.AUTHORIZATION_BUFFER
           
static Buffer HttpHeaderValues.BYTES_BUFFER
           
static Buffer HttpHeaders.CACHE_CONTROL_BUFFER
           
static Buffer HttpHeaderValues.CHUNKED_BUFFER
           
static Buffer HttpHeaderValues.CLOSE_BUFFER
           
static Buffer HttpMethods.CONNECT_BUFFER
           
static Buffer HttpHeaders.CONNECTION_BUFFER
           
static Buffer HttpHeaders.CONTENT_ENCODING_BUFFER
           
static Buffer HttpHeaders.CONTENT_LANGUAGE_BUFFER
           
static Buffer HttpHeaders.CONTENT_LENGTH_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 HttpHeaderValues.CONTINUE_BUFFER
           
static Buffer HttpHeaders.COOKIE_BUFFER
           
static Buffer HttpHeaders.DATE_BUFFER
           
static Buffer HttpMethods.DELETE_BUFFER
           
static Buffer HttpHeaders.ETAG_BUFFER
           
static Buffer HttpHeaders.EXPECT_BUFFER
           
static Buffer HttpHeaders.EXPIRES_BUFFER
           
static Buffer HttpHeaders.FORWARDED_BUFFER
           
static Buffer HttpHeaders.FROM_BUFFER
           
static Buffer HttpMethods.GET_BUFFER
           
static Buffer HttpHeaderValues.GZIP_BUFFER
           
static Buffer HttpMethods.HEAD_BUFFER
           
static Buffer HttpHeaders.HOST_BUFFER
           
static Buffer HttpVersions.HTTP_0_9_BUFFER
           
static Buffer HttpVersions.HTTP_1_0_BUFFER
           
static Buffer HttpVersions.HTTP_1_1_BUFFER
           
static Buffer HttpSchemes.HTTP_BUFFER
           
static Buffer HttpSchemes.HTTPS_BUFFER
           
static Buffer HttpHeaderValues.IDENTITY_BUFFER
           
static Buffer HttpHeaders.IDENTITY_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 HttpHeaderValues.KEEP_ALIVE_BUFFER
           
static Buffer HttpHeaders.KEEP_ALIVE_BUFFER
           
static Buffer HttpHeaders.LAST_MODIFIED_BUFFER
           
static Buffer HttpHeaders.LOCATION_BUFFER
           
static Buffer HttpHeaders.MAX_FORWARDS_BUFFER
           
static Buffer HttpHeaders.MIME_VERSION_BUFFER
           
static Buffer HttpMethods.MOVE_BUFFER
           
static Buffer HttpHeaderValues.NO_CACHE_BUFFER
           
static Buffer HttpMethods.OPTIONS_BUFFER
           
static Buffer HttpMethods.POST_BUFFER
           
static Buffer HttpHeaders.PRAGMA_BUFFER
           
static Buffer HttpHeaderValues.PROCESSING_BUFFER
           
static Buffer HttpHeaders.PROXY_AUTHENTICATE_BUFFER
           
static Buffer HttpHeaders.PROXY_AUTHORIZATION_BUFFER
           
static Buffer HttpHeaders.PROXY_CONNECTION_BUFFER
           
static Buffer HttpMethods.PUT_BUFFER
           
static Buffer HttpHeaders.RANGE_BUFFER
           
static Buffer HttpHeaders.REFERER_BUFFER
           
static Buffer HttpHeaders.REQUEST_RANGE_BUFFER
           
static Buffer HttpHeaders.RETRY_AFTER_BUFFER
           
static Buffer HttpHeaders.SERVER_BUFFER
           
static Buffer HttpHeaders.SERVLET_ENGINE_BUFFER
           
static Buffer HttpHeaders.SET_COOKIE_BUFFER
           
static Buffer HttpHeaders.SET_COOKIE2_BUFFER
           
static Buffer HttpHeaderValues.TE_BUFFER
           
static Buffer HttpHeaders.TE_BUFFER
           
static Buffer HttpMethods.TRACE_BUFFER
           
static Buffer HttpHeaders.TRAILER_BUFFER
           
static Buffer HttpHeaders.TRANSFER_ENCODING_BUFFER
           
static Buffer HttpHeaderValues.UPGRADE_BUFFER
           
static Buffer HttpHeaders.UPGRADE_BUFFER
           
static Buffer HttpHeaders.USER_AGENT_BUFFER
           
static Buffer HttpHeaders.VARY_BUFFER
           
static Buffer HttpHeaders.VIA_BUFFER
           
static Buffer HttpHeaders.WARNING_BUFFER
           
static Buffer HttpHeaders.WWW_AUTHENTICATE_BUFFER
           
static Buffer HttpHeaders.X_FORWARDED_FOR_BUFFER
           
static Buffer HttpHeaders.X_FORWARDED_HOST_BUFFER
           
static Buffer HttpHeaders.X_FORWARDED_PROTO_BUFFER
           
static Buffer HttpHeaders.X_FORWARDED_SERVER_BUFFER
           
 

Methods in org.eclipse.jetty.http that return Buffer
 Buffer HttpParser.blockForContent(long maxIdleTime)
           
 Buffer HttpFields.get(Buffer name)
           
 Buffer HttpParser.getBodyBuffer()
           
 Buffer HttpContent.getContentType()
           
 Buffer HttpContent.ResourceAsHttpContent.getContentType()
           
 Buffer HttpContent.getDirectBuffer()
           
 Buffer HttpContent.ResourceAsHttpContent.getDirectBuffer()
           
 Buffer HttpParser.getHeaderBuffer()
           
 Buffer HttpContent.getIndirectBuffer()
           
 Buffer HttpContent.ResourceAsHttpContent.getIndirectBuffer()
           
 Buffer HttpContent.getLastModified()
           
 Buffer HttpContent.ResourceAsHttpContent.getLastModified()
           
 Buffer MimeTypes.getMimeByExtension(String filename)
          Get the MIME type by filename extension.
static Buffer HttpGenerator.getReasonBuffer(int code)
           
 Buffer AbstractGenerator.getUncheckedBuffer()
           
 Buffer HttpFields.Field.getValueBuffer()
           
 

Methods in org.eclipse.jetty.http with parameters of type Buffer
 void HttpFields.add(Buffer name, Buffer value)
          Add to or set a field.
 void HttpGenerator.addContent(Buffer content, boolean last)
          Add content.
 void Generator.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<String> 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 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.putTo(Buffer buffer)
           
 void HttpFields.Field.putTo(Buffer buffer)
           
 void HttpFields.remove(Buffer name)
          Remove a field.
 void HttpGenerator.sendResponse(Buffer response)
          send complete response.
 void AbstractGenerator.setDate(Buffer timeStampBuffer)
           
 void Generator.setDate(Buffer timeStampBuffer)
           
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.eclipse.jetty.http with parameters of type Buffer
HttpContent.ResourceAsHttpContent(Resource resource, Buffer mimeType)
           
HttpContent.ResourceAsHttpContent(Resource resource, Buffer mimeType, int maxBuffer)
           
HttpParser(Buffer buffer, HttpParser.EventHandler handler)
          Constructor.
 

Uses of Buffer in org.eclipse.jetty.io
 

Classes in org.eclipse.jetty.io that implement Buffer
 class AbstractBuffer
           
static class BufferCache.CachedBuffer
           
 class ByteArrayBuffer
           
static class ByteArrayBuffer.CaseInsensitive
           
 class View
          A View on another buffer.
static class View.CaseInsensitive
           
 

Methods in org.eclipse.jetty.io that return Buffer
 Buffer Buffer.asImmutableBuffer()
           
 Buffer AbstractBuffer.asImmutableBuffer()
           
 Buffer Buffer.asMutableBuffer()
           
 Buffer AbstractBuffer.asMutableBuffer()
           
 Buffer Buffer.asNonVolatileBuffer()
           
 Buffer AbstractBuffer.asNonVolatileBuffer()
           
 Buffer Buffer.asReadOnlyBuffer()
           
 Buffer AbstractBuffer.asReadOnlyBuffer()
           
 Buffer View.buffer()
           
 Buffer Buffer.buffer()
          Get the unerlying buffer.
 Buffer AbstractBuffer.buffer()
           
 Buffer BufferDateCache.formatBuffer(long date)
           
 Buffer Buffer.get(int length)
           
 Buffer AbstractBuffer.get(int length)
           
 Buffer SimpleBuffers.getBuffer()
           
 Buffer PooledBuffers.getBuffer()
           
 Buffer ThreadLocalBuffers.getBuffer()
           
 Buffer Buffers.getBuffer()
           
 Buffer SimpleBuffers.getBuffer(int size)
           
 Buffer PooledBuffers.getBuffer(int size)
           
 Buffer ThreadLocalBuffers.getBuffer(int size)
           
 Buffer Buffers.getBuffer(int size)
           
 Buffer SimpleBuffers.getHeader()
           
 Buffer PooledBuffers.getHeader()
           
 Buffer ThreadLocalBuffers.getHeader()
           
 Buffer Buffers.getHeader()
           
 Buffer BufferCache.lookup(Buffer buffer)
           
 Buffer BufferCache.lookup(String value)
           
protected  Buffer AbstractBuffers.newBuffer()
          Create a new content Buffer
protected  Buffer AbstractBuffers.newBuffer(int size)
          Create a new content Buffer
protected  Buffer AbstractBuffers.newHeader()
          Create a new header Buffer
 Buffer View.peek(int index, int length)
           
 Buffer Buffer.peek(int index, int length)
           
 Buffer AbstractBuffer.peek(int index, int length)
           
 Buffer Buffer.slice()
           
 Buffer AbstractBuffer.slice()
           
 Buffer Buffer.sliceFromMark()
           
 Buffer AbstractBuffer.sliceFromMark()
           
 Buffer Buffer.sliceFromMark(int length)
           
 Buffer AbstractBuffer.sliceFromMark(int length)
           
static Buffer BufferUtil.toBuffer(long value)
           
 

Methods in org.eclipse.jetty.io with parameters of type Buffer
 boolean ByteArrayBuffer.equalsIgnoreCase(Buffer b)
           
 boolean Buffer.equalsIgnoreCase(Buffer buffer)
           
 boolean AbstractBuffer.equalsIgnoreCase(Buffer b)
           
 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)
           
 void NetworkTrafficListener.incoming(Socket socket, Buffer bytes)
          Callback method invoked when bytes sent by a remote client arrived on the server.
 void NetworkTrafficListener.Empty.incoming(Socket socket, Buffer bytes)
           
 boolean AbstractBuffers.isBuffer(Buffer buffer)
           
 boolean AbstractBuffers.isHeader(Buffer buffer)
           
static boolean BufferUtil.isPrefix(Buffer prefix, Buffer buffer)
           
 Buffer BufferCache.lookup(Buffer buffer)
           
 void NetworkTrafficListener.outgoing(Socket socket, Buffer bytes)
          Callback method invoked when bytes are sent to a remote client from the server.
 void NetworkTrafficListener.Empty.outgoing(Socket socket, Buffer bytes)
           
 int View.poke(int index, Buffer src)
           
 int ByteArrayBuffer.poke(int index, Buffer src)
           
 int Buffer.poke(int index, Buffer src)
          Put the contents of the buffer at the specific index.
 int AbstractBuffer.poke(int index, Buffer src)
           
static void BufferUtil.prependHexInt(Buffer buffer, int n)
          Add hex integer BEFORE current getIndex.
 int Buffer.put(Buffer src)
          Write the bytes from the source buffer to the current getIndex.
 int AbstractBuffer.put(Buffer src)
           
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 SimpleBuffers.returnBuffer(Buffer buffer)
           
 void PooledBuffers.returnBuffer(Buffer buffer)
           
 void ThreadLocalBuffers.returnBuffer(Buffer buffer)
           
 void Buffers.returnBuffer(Buffer buffer)
           
static String BufferUtil.to8859_1_String(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.eclipse.jetty.io with parameters of type Buffer
SimpleBuffers(Buffer header, Buffer buffer)
           
View.CaseInsensitive(Buffer buffer)
           
View.CaseInsensitive(Buffer buffer, int mark, int get, int put, int access)
           
View(Buffer buffer)
           
View(Buffer buffer, int mark, int get, int put, int access)
           
 

Uses of Buffer in org.eclipse.jetty.io.bio
 

Methods in org.eclipse.jetty.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.eclipse.jetty.io.nio
 

Subinterfaces of Buffer in org.eclipse.jetty.io.nio
 interface NIOBuffer
           
 

Classes in org.eclipse.jetty.io.nio that implement Buffer
 class DirectNIOBuffer
           
 class IndirectNIOBuffer
           
 class RandomAccessFileBuffer
           
 

Methods in org.eclipse.jetty.io.nio with parameters of type Buffer
 int SslConnection.SslEndPoint.fill(Buffer buffer)
           
 int ChannelEndPoint.fill(Buffer buffer)
           
 int SelectChannelEndPoint.fill(Buffer buffer)
           
 int NetworkTrafficSelectChannelEndPoint.fill(Buffer buffer)
           
 int SslConnection.SslEndPoint.flush(Buffer buffer)
           
 int ChannelEndPoint.flush(Buffer buffer)
           
 int SelectChannelEndPoint.flush(Buffer buffer)
           
 int NetworkTrafficSelectChannelEndPoint.flush(Buffer buffer)
           
 int SslConnection.SslEndPoint.flush(Buffer header, Buffer buffer, Buffer trailer)
           
 int ChannelEndPoint.flush(Buffer header, Buffer buffer, Buffer trailer)
           
 int SelectChannelEndPoint.flush(Buffer header, Buffer buffer, Buffer trailer)
           
protected  int ChannelEndPoint.gatheringFlush(Buffer header, ByteBuffer bbuf0, Buffer buffer, ByteBuffer bbuf1)
           
protected  int NetworkTrafficSelectChannelEndPoint.gatheringFlush(Buffer header, ByteBuffer bbuf0, Buffer buffer, ByteBuffer bbuf1)
           
 void NetworkTrafficSelectChannelEndPoint.notifyIncoming(Buffer buffer, int read)
           
 void NetworkTrafficSelectChannelEndPoint.notifyOutgoing(Buffer buffer, int position, int written)
           
 int DirectNIOBuffer.poke(int index, Buffer src)
           
 

Uses of Buffer in org.eclipse.jetty.server
 

Methods in org.eclipse.jetty.server that return Buffer
 Buffer ResourceCache.Content.getContentType()
           
 Buffer ResourceCache.Content.getDirectBuffer()
           
protected  Buffer ResourceCache.getDirectBuffer(Resource resource)
           
 Buffer ResourceCache.Content.getIndirectBuffer()
           
protected  Buffer ResourceCache.getIndirectBuffer(Resource resource)
           
 Buffer ResourceCache.Content.getLastModified()
           
 Buffer Request.getTimeStampBuffer()
          Get Request TimeStamp
 

Methods in org.eclipse.jetty.server with parameters of type Buffer
protected  void AbstractHttpConnection.content(Buffer buffer)
           
protected  void AbstractHttpConnection.parsedHeader(Buffer name, Buffer value)
           
 void AbstractHttpConnection.Output.sendResponse(Buffer response)
           
protected  void AbstractHttpConnection.startRequest(Buffer method, Buffer uri, Buffer version)
           
 

Uses of Buffer in org.eclipse.jetty.server.bio
 

Methods in org.eclipse.jetty.server.bio with parameters of type Buffer
 int SocketConnector.ConnectorEndPoint.fill(Buffer buffer)
           
 

Uses of Buffer in org.eclipse.jetty.server.handler
 

Methods in org.eclipse.jetty.server.handler with parameters of type Buffer
protected  ConnectHandler.ProxyToServerConnection ConnectHandler.newProxyToServerConnection(ConcurrentMap<String,Object> context, Buffer buffer)
           
protected  int ConnectHandler.read(EndPoint endPoint, Buffer buffer, ConcurrentMap<String,Object> context)
          Reads (with non-blocking semantic) into the given buffer from the given endPoint.
protected  int ConnectHandler.write(EndPoint endPoint, Buffer buffer, ConcurrentMap<String,Object> context)
          Writes (with blocking semantic) the given buffer of data onto the given endPoint.
 

Constructors in org.eclipse.jetty.server.handler with parameters of type Buffer
ConnectHandler.ProxyToServerConnection(ConcurrentMap<String,Object> context, Buffer data)
           
 



Copyright © 2012. All Rights Reserved.