Package | Description |
---|---|
org.apache.catalina.authenticator |
This package contains
Authenticator implementations for the
various supported authentication methods (BASIC, DIGEST, and FORM). |
org.apache.catalina.util | |
org.apache.coyote | |
org.apache.coyote.ajp | |
org.apache.coyote.http11 | |
org.apache.coyote.http11.filters | |
org.apache.coyote.memory | |
org.apache.tomcat.util.buf |
Buffers and Encodings
|
Modifier and Type | Method and Description |
---|---|
ByteChunk |
SavedRequest.getBody() |
Modifier and Type | Method and Description |
---|---|
void |
SavedRequest.setBody(ByteChunk body) |
Modifier and Type | Method and Description |
---|---|
static void |
Base64.decode(ByteChunk base64DataBC,
CharChunk decodedDataCC)
Decodes Base64 data into octects
|
Modifier and Type | Method and Description |
---|---|
int |
Request.doRead(ByteChunk chunk)
Read data from the input buffer and put it into a byte chunk.
|
int |
InputBuffer.doRead(ByteChunk chunk,
Request request)
Return from the input stream.
|
void |
Response.doWrite(ByteChunk chunk)
Write a chunk of bytes.
|
int |
OutputBuffer.doWrite(ByteChunk chunk,
Response response)
Write the response.
|
Modifier and Type | Method and Description |
---|---|
void |
AjpMessage.appendByteChunk(ByteChunk bc)
Write a ByteChunk out at the current write position.
|
int |
AjpProcessor.SocketInputBuffer.doRead(ByteChunk chunk,
Request req)
Read bytes into the specified chunk.
|
int |
AjpAprProcessor.SocketInputBuffer.doRead(ByteChunk chunk,
Request req)
Read bytes into the specified chunk.
|
int |
AjpProcessor.SocketOutputBuffer.doWrite(ByteChunk chunk,
Response res)
Write chunk.
|
int |
AjpAprProcessor.SocketOutputBuffer.doWrite(ByteChunk chunk,
Response res)
Write chunk.
|
Modifier and Type | Field and Description |
---|---|
protected ByteChunk |
AbstractInternalOutputBuffer.leftover
Leftover bytes which could not be written during a non blocking write.
|
protected ByteChunk |
InternalAprOutputBuffer.leftover
Leftover bytes which could not be written during a non blocking write.
|
protected ByteChunk |
InternalOutputBuffer.socketBuffer
Socket buffer.
|
Modifier and Type | Method and Description |
---|---|
ByteChunk |
InputFilter.getEncodingName()
Get the name of the encoding handled by this filter.
|
ByteChunk |
OutputFilter.getEncodingName()
Get the name of the encoding handled by this filter.
|
Modifier and Type | Method and Description |
---|---|
int |
InputFilter.doRead(ByteChunk chunk,
Request unused)
Read bytes.
|
int |
InternalInputBuffer.doRead(ByteChunk chunk,
Request req)
Read some bytes.
|
int |
InternalInputBuffer.InputStreamInputBuffer.doRead(ByteChunk chunk,
Request req)
Read bytes into the specified chunk.
|
int |
InternalNioInputBuffer.doRead(ByteChunk chunk,
Request req) |
int |
InternalNioInputBuffer.InputBufferImpl.doRead(ByteChunk chunk,
Request req)
Read bytes into the specified chunk.
|
int |
InternalAprInputBuffer.doRead(ByteChunk chunk,
Request req)
Read some bytes.
|
int |
InternalAprInputBuffer.SocketInputBuffer.doRead(ByteChunk chunk,
Request req)
Read bytes into the specified chunk.
|
int |
InternalNioOutputBuffer.doWrite(ByteChunk chunk,
Response res) |
abstract int |
AbstractInternalOutputBuffer.doWrite(ByteChunk chunk,
Response res)
Write the contents of a byte chunk.
|
int |
OutputFilter.doWrite(ByteChunk chunk,
Response unused)
Write some bytes.
|
int |
InternalOutputBuffer.doWrite(ByteChunk chunk,
Response res)
Write the contents of a byte chunk.
|
int |
InternalOutputBuffer.OutputStreamOutputBuffer.doWrite(ByteChunk chunk,
Response res)
Write chunk.
|
int |
InternalAprOutputBuffer.doWrite(ByteChunk chunk,
Response res)
Write the contents of a byte chunk.
|
int |
InternalAprOutputBuffer.SocketOutputBuffer.doWrite(ByteChunk chunk,
Response res)
Write chunk.
|
protected int |
Http11Processor.findBytes(ByteChunk bc,
byte[] b)
Specialized utility method: find a sequence of lower case bytes inside
a ByteChunk.
|
protected int |
Http11AbstractProcessor.findBytes(ByteChunk bc,
byte[] b)
Specialized utility method: find a sequence of lower case bytes inside a
ByteChunk.
|
protected int |
Http11AprProcessor.findBytes(ByteChunk bc,
byte[] b)
Specialized utility method: find a sequence of lower case bytes inside
a ByteChunk.
|
void |
AbstractInternalOutputBuffer.sendHeader(ByteChunk name,
ByteChunk value)
Send a header.
|
void |
InternalOutputBuffer.sendHeader(ByteChunk name,
ByteChunk value)
Send a header.
|
void |
InternalAprOutputBuffer.sendHeader(ByteChunk name,
ByteChunk value)
Send a header.
|
protected void |
AbstractInternalOutputBuffer.write(ByteChunk bc)
This method will write the contents of the specyfied message bytes buffer
to the output stream, without filtering.
|
protected void |
InternalOutputBuffer.write(ByteChunk bc)
This method will write the contents of the specyfied message bytes
buffer to the output stream, without filtering.
|
protected void |
InternalAprOutputBuffer.write(ByteChunk bc)
This method will write the contents of the specyfied message bytes
buffer to the output stream, without filtering.
|
Modifier and Type | Field and Description |
---|---|
protected ByteChunk |
ChunkedOutputFilter.chunkHeader
Chunk header.
|
protected static ByteChunk |
ChunkedOutputFilter.ENCODING |
protected static ByteChunk |
VoidInputFilter.ENCODING |
protected static ByteChunk |
IdentityOutputFilter.ENCODING |
protected static ByteChunk |
GzipOutputFilter.ENCODING |
protected static ByteChunk |
ChunkedInputFilter.ENCODING |
protected static ByteChunk |
VoidOutputFilter.ENCODING |
protected static ByteChunk |
IdentityInputFilter.ENCODING |
protected static ByteChunk |
ChunkedOutputFilter.END_CHUNK
End chunk.
|
protected ByteChunk |
IdentityInputFilter.endChunk
Chunk used to read leftover bytes.
|
protected ByteChunk |
SavedRequestInputFilter.input
The original request body.
|
protected ByteChunk |
GzipOutputFilter.FakeOutputStream.outputChunk |
protected ByteChunk |
ChunkedInputFilter.readChunk
Byte chunk used to read bytes.
|
Modifier and Type | Method and Description |
---|---|
ByteChunk |
ChunkedOutputFilter.getEncodingName()
Return the name of the associated encoding; Here, the value is
"identity".
|
ByteChunk |
VoidInputFilter.getEncodingName()
Return the name of the associated encoding; Here, the value is
"void".
|
ByteChunk |
IdentityOutputFilter.getEncodingName()
Return the name of the associated encoding; Here, the value is
"identity".
|
ByteChunk |
SavedRequestInputFilter.getEncodingName()
Return the name of the associated encoding; here, the value is null.
|
ByteChunk |
GzipOutputFilter.getEncodingName()
Return the name of the associated encoding; Here, the value is
"identity".
|
ByteChunk |
BufferedInputFilter.getEncodingName() |
ByteChunk |
ChunkedInputFilter.getEncodingName()
Return the name of the associated encoding; Here, the value is
"identity".
|
ByteChunk |
VoidOutputFilter.getEncodingName()
Return the name of the associated encoding; Here, the value is
"identity".
|
ByteChunk |
IdentityInputFilter.getEncodingName()
Return the name of the associated encoding; Here, the value is
"identity".
|
Modifier and Type | Method and Description |
---|---|
int |
VoidInputFilter.doRead(ByteChunk chunk,
Request req)
Write some bytes.
|
int |
SavedRequestInputFilter.doRead(ByteChunk chunk,
Request request)
Read bytes.
|
int |
BufferedInputFilter.doRead(ByteChunk chunk,
Request request)
Fills the given ByteChunk with the buffered request body.
|
int |
ChunkedInputFilter.doRead(ByteChunk chunk,
Request req)
Read bytes.
|
int |
IdentityInputFilter.doRead(ByteChunk chunk,
Request req)
Read bytes.
|
int |
ChunkedOutputFilter.doWrite(ByteChunk chunk,
Response res)
Write some bytes.
|
int |
IdentityOutputFilter.doWrite(ByteChunk chunk,
Response res)
Write some bytes.
|
int |
GzipOutputFilter.doWrite(ByteChunk chunk,
Response res)
Write some bytes.
|
int |
VoidOutputFilter.doWrite(ByteChunk chunk,
Response res)
Write some bytes.
|
Constructor and Description |
---|
SavedRequestInputFilter(ByteChunk input)
Create a new SavedRequestInputFilter.
|
Modifier and Type | Field and Description |
---|---|
protected ByteChunk |
MemoryProtocolHandler.ByteChunkInputBuffer.input |
protected ByteChunk |
MemoryProtocolHandler.ByteChunkOutputBuffer.output |
Modifier and Type | Method and Description |
---|---|
int |
MemoryProtocolHandler.ByteChunkInputBuffer.doRead(ByteChunk chunk,
Request request) |
int |
MemoryProtocolHandler.ByteChunkOutputBuffer.doWrite(ByteChunk chunk,
Response response) |
void |
MemoryProtocolHandler.process(Request request,
ByteChunk input,
Response response,
ByteChunk output)
Process specified request.
|
Constructor and Description |
---|
ByteChunkInputBuffer(ByteChunk input) |
ByteChunkOutputBuffer(ByteChunk output) |
Modifier and Type | Method and Description |
---|---|
ByteChunk |
MessageBytes.getByteChunk()
Returns the byte chunk, representing the byte[] and offset/length.
|
ByteChunk |
ByteChunk.getClone() |
Modifier and Type | Method and Description |
---|---|
void |
ByteChunk.append(ByteChunk src) |
protected static int |
StringCache.compare(ByteChunk name,
byte[] compareTo)
Compare given byte chunk with byte array.
|
void |
UDecoder.convert(ByteChunk mb)
URLDecode, will modify the source.
|
void |
UDecoder.convert(ByteChunk mb,
boolean query)
URLDecode, will modify the source.
|
void |
UTF8Decoder.convert(ByteChunk mb,
CharChunk cb) |
void |
B2CConverter.convert(ByteChunk bc,
CharChunk cc)
Convert the given bytes to characters.
|
void |
C2BConverter.convert(CharChunk cc,
ByteChunk bc)
Convert the given characters to bytes.
|
boolean |
ByteChunk.equals(ByteChunk bb) |
protected static String |
StringCache.find(ByteChunk name)
Find an entry given its name in the cache and return the associated String.
|
protected static int |
StringCache.findClosest(ByteChunk name,
StringCache.ByteEntry[] array,
int len)
Find an entry given its name in a sorted array of map elements.
|
int |
ByteChunk.substract(ByteChunk src) |
static String |
StringCache.toString(ByteChunk bc) |
protected void |
UEncoder.urlEncode(CharChunk out,
ByteChunk bb) |
Copyright © 2014 JBoss by Red Hat. All rights reserved.