Uses of Interface
juju.reattore.io.ByteSource

Packages that use ByteSource
juju.reattore.io Reattore IO package. 
juju.reattore.io.impl   
juju.reattore.protocol.http   
juju.reattore.protocol.http.impl   
juju.reattore.server.intercept.impl   
 

Uses of ByteSource in juju.reattore.io
 

Subinterfaces of ByteSource in juju.reattore.io
 interface BulkByteSource
          A source that can also serve a large chunk directly as a byte buffer.
 interface FileSource
          A byte source that serves from a file.
 

Uses of ByteSource in juju.reattore.io.impl
 

Classes in juju.reattore.io.impl that implement ByteSource
 class ByteBufferSource
          A thin wrapper around the ByteBuffer API that implements the Reattore IO API.
 class ByteSourceSink
          Buffer that may be used for temporary storage and which is backed by a byte array.
 class ChannelFileSource
          A byte source that serves from a file using channels.
 class PushbackByteSource
          Simple one character pushback system that works across multiple input arrays.
 

Methods in juju.reattore.io.impl with parameters of type ByteSource
static java.nio.ByteBuffer SourceHelper.asByteBuffer(ByteSource in)
          Return a source as a NIO ByteBuffer.
 void PushbackByteSource.seed(ByteSource on)
          Seeds the push back system with a new array to read from.
 

Constructors in juju.reattore.io.impl with parameters of type ByteSource
PushbackByteSource(ByteSource on)
          Create a new source around the given source.
 

Uses of ByteSource in juju.reattore.protocol.http
 

Methods in juju.reattore.protocol.http that return ByteSource
 ByteSource HttpResponse.getBody()
          Gets the source to read the body from.
 ByteSource HttpMessage.getBody()
          Gets the message body as a stream.
 

Methods in juju.reattore.protocol.http with parameters of type ByteSource
 void HttpResponse.setBody(ByteSource to)
          Sets the source to read the body from.
 java.util.List HttpParser.add(ByteSource source)
          Takes the next set of data and parses it into headers and body as the data is made available.
 

Uses of ByteSource in juju.reattore.protocol.http.impl
 

Methods in juju.reattore.protocol.http.impl that return ByteSource
 ByteSource BaseHttpResponse.getBody()
           
 ByteSource BaseHttpRequest.getBody()
           
 

Methods in juju.reattore.protocol.http.impl with parameters of type ByteSource
 java.util.List BasicHttpParser.add(ByteSource source)
           
 void BaseHttpResponse.setBody(ByteSource to)
           
 void BaseHttpRequest.setBody(ByteSource body)
          Sets the body attached to this request.
 

Uses of ByteSource in juju.reattore.server.intercept.impl
 

Methods in juju.reattore.server.intercept.impl that return ByteSource
 ByteSource FileCache.tryGet(java.lang.String req)
          Attempt to fetch from the cache.
 ByteSource FileCache.get(java.lang.String req, java.io.File resolved)
          Fetch from the cache or from disk, throwing on failure.
 



Copyright © 2002-2003 Michael Hope. All Rights Reserved.