|
|||||||||
| Home >> All >> org >> apache >> tomcat >> util >> [ buf overview ] | PREV NEXT | ||||||||
A
- Ascii - class org.apache.tomcat.util.buf.Ascii.
- This class implements some basic ASCII character handling functions.
- Ascii() - Constructor for class org.apache.tomcat.util.buf.Ascii
- accessCount - Static variable in class org.apache.tomcat.util.buf.StringCache
- Access count.
- addSafeCharacter(char) - Method in class org.apache.tomcat.util.buf.UEncoder
- allocate(int, int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- allocate(int, int) - Method in class org.apache.tomcat.util.buf.CharChunk
- append(char) - Method in class org.apache.tomcat.util.buf.ByteChunk
- Append a char, by casting it to byte.
- append(byte) - Method in class org.apache.tomcat.util.buf.ByteChunk
- append(ByteChunk) - Method in class org.apache.tomcat.util.buf.ByteChunk
- append(byte[], int, int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- Add data to the buffer
- append(char) - Method in class org.apache.tomcat.util.buf.CharChunk
- append(CharChunk) - Method in class org.apache.tomcat.util.buf.CharChunk
- append(char[], int, int) - Method in class org.apache.tomcat.util.buf.CharChunk
- Add data to the buffer
- append(StringBuffer) - Method in class org.apache.tomcat.util.buf.CharChunk
- Add data to the buffer
- append(String) - Method in class org.apache.tomcat.util.buf.CharChunk
- Append a string to the buffer
- append(String, int, int) - Method in class org.apache.tomcat.util.buf.CharChunk
- Append a string to the buffer
- asctimeFormat - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- asctimePattern - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
B
- B2CConverter - class org.apache.tomcat.util.buf.B2CConverter.
- Efficient conversion of bytes to character .
- B2CConverter() - Constructor for class org.apache.tomcat.util.buf.B2CConverter
- B2CConverter(String) - Constructor for class org.apache.tomcat.util.buf.B2CConverter
- Create a converter, with bytes going to a byte buffer
- BASELENGTH - Static variable in class org.apache.tomcat.util.buf.Base64
- BUFFER_SIZE - Static variable in class org.apache.tomcat.util.buf.B2CConverter
- Base64 - class org.apache.tomcat.util.buf.Base64.
- This class provides encode/decode for RFC 2045 Base64 as defined by RFC 2045, N.
- Base64() - Constructor for class org.apache.tomcat.util.buf.Base64
- ByteChunk - class org.apache.tomcat.util.buf.ByteChunk.
- This class is used to represent a chunk of bytes, and utilities to manipulate byte[].
- ByteChunk() - Constructor for class org.apache.tomcat.util.buf.ByteChunk
- Creates a new, uninitialized ByteChunk object.
- ByteChunk(int) - Constructor for class org.apache.tomcat.util.buf.ByteChunk
- ByteChunk.ByteInputChannel - interface org.apache.tomcat.util.buf.ByteChunk.ByteInputChannel.
- Input interface, used when the buffer is emptiy Same as java.nio.channel.ReadableByteChannel
- ByteChunk.ByteOutputChannel - interface org.apache.tomcat.util.buf.ByteChunk.ByteOutputChannel.
- Same as java.nio.channel.WrittableByteChannel.
- base64 - Static variable in class org.apache.tomcat.util.buf.Base64
- base64Alphabet - Static variable in class org.apache.tomcat.util.buf.Base64
- base64Decode(String) - Static method in class org.apache.tomcat.util.buf.Base64
- bb - Variable in class org.apache.tomcat.util.buf.C2BConverter
- bb - Variable in class org.apache.tomcat.util.buf.UEncoder
- bcCache - Static variable in class org.apache.tomcat.util.buf.StringCache
- Cache for byte chunk.
- bcCount - Static variable in class org.apache.tomcat.util.buf.StringCache
- toString count for byte chunk.
- bcStats - Static variable in class org.apache.tomcat.util.buf.StringCache
- Statistics hash map for byte chunk.
- buf - Variable in class org.apache.tomcat.util.buf.IntermediateInputStream
- buff - Variable in class org.apache.tomcat.util.buf.ByteChunk
- buff - Variable in class org.apache.tomcat.util.buf.CharChunk
- byteC - Variable in class org.apache.tomcat.util.buf.MessageBytes
- byteEnabled - Static variable in class org.apache.tomcat.util.buf.StringCache
- Enabled ?
C
- C2BConverter - class org.apache.tomcat.util.buf.C2BConverter.
- Efficient conversion of character to bytes.
- C2BConverter(ByteChunk, String) - Constructor for class org.apache.tomcat.util.buf.C2BConverter
- Create a converter, with bytes going to a byte buffer
- C2BConverter(String) - Constructor for class org.apache.tomcat.util.buf.C2BConverter
- Create a converter
- CharChunk - class org.apache.tomcat.util.buf.CharChunk.
- Utilities to manipluate char chunks.
- CharChunk() - Constructor for class org.apache.tomcat.util.buf.CharChunk
- Creates a new, uninitialized CharChunk object.
- CharChunk(int) - Constructor for class org.apache.tomcat.util.buf.CharChunk
- CharChunk.CharInputChannel - interface org.apache.tomcat.util.buf.CharChunk.CharInputChannel.
- CharChunk.CharOutputChannel - interface org.apache.tomcat.util.buf.CharChunk.CharOutputChannel.
- When we need more space we'll either grow the buffer ( up to the limit ) or send it to a channel.
- c2b - Variable in class org.apache.tomcat.util.buf.UEncoder
- cacheSize - Static variable in class org.apache.tomcat.util.buf.StringCache
- caseSensitive - Variable in class org.apache.tomcat.util.buf.MessageBytes
- ccCache - Static variable in class org.apache.tomcat.util.buf.StringCache
- Cache for char chunk.
- ccCount - Static variable in class org.apache.tomcat.util.buf.StringCache
- toString count for char chunk.
- ccStats - Static variable in class org.apache.tomcat.util.buf.StringCache
- Statistics hash map for char chunk.
- charC - Variable in class org.apache.tomcat.util.buf.MessageBytes
- charEnabled - Static variable in class org.apache.tomcat.util.buf.StringCache
- close() - Method in class org.apache.tomcat.util.buf.IntermediateInputStream
- close() - Method in class org.apache.tomcat.util.buf.IntermediateOutputStream
- close() - Method in class org.apache.tomcat.util.buf.ReadConvertor
- Overriden - will do nothing but reset internal state.
- close() - Method in class org.apache.tomcat.util.buf.WriteConvertor
- Overriden - will do nothing but reset internal state.
- compare(ByteChunk, byte[]) - Static method in class org.apache.tomcat.util.buf.StringCache
- Compare given byte chunk with byte array.
- compare(CharChunk, char[]) - Static method in class org.apache.tomcat.util.buf.StringCache
- Compare given char chunk with char array.
- conv - Variable in class org.apache.tomcat.util.buf.B2CConverter
- conv - Variable in class org.apache.tomcat.util.buf.C2BConverter
- convert(ByteChunk, CharChunk) - Method in class org.apache.tomcat.util.buf.B2CConverter
- Convert a buffer of bytes into a chars
- convert(CharChunk) - Method in class org.apache.tomcat.util.buf.B2CConverter
- convert(char[], int, int) - Method in class org.apache.tomcat.util.buf.C2BConverter
- Generate the bytes using the specified encoding
- convert(String) - Method in class org.apache.tomcat.util.buf.C2BConverter
- Generate the bytes using the specified encoding
- convert(char) - Method in class org.apache.tomcat.util.buf.C2BConverter
- Generate the bytes using the specified encoding
- convert(MessageBytes) - Method in class org.apache.tomcat.util.buf.C2BConverter
- Convert a message bytes chars to bytes
- convert(String) - Static method in class org.apache.tomcat.util.buf.HexUtils
- Convert a String of hexadecimal digits into the corresponding byte array by encoding each two hexadecimal digits as a byte.
- convert(byte[]) - Static method in class org.apache.tomcat.util.buf.HexUtils
- Convert a byte array into a printable format containing a String of hexadecimal digit characters (two per byte).
- convert(ByteChunk) - Method in class org.apache.tomcat.util.buf.UDecoder
- URLDecode, will modify the source.
- convert(ByteChunk, boolean) - Method in class org.apache.tomcat.util.buf.UDecoder
- URLDecode, will modify the source.
- convert(CharChunk) - Method in class org.apache.tomcat.util.buf.UDecoder
- In-buffer processing - the buffer will be modified Includes converting '+' to ' '.
- convert(CharChunk, boolean) - Method in class org.apache.tomcat.util.buf.UDecoder
- In-buffer processing - the buffer will be modified
- convert(MessageBytes) - Method in class org.apache.tomcat.util.buf.UDecoder
- URLDecode, will modify the source Includes converting '+' to ' '.
- convert(MessageBytes, boolean) - Method in class org.apache.tomcat.util.buf.UDecoder
- URLDecode, will modify the source
- convert(String) - Method in class org.apache.tomcat.util.buf.UDecoder
- convert(String, boolean) - Method in class org.apache.tomcat.util.buf.UDecoder
- convert(ByteChunk, CharChunk) - Method in class org.apache.tomcat.util.buf.UTF8Decoder
- convert2Int(byte[]) - Static method in class org.apache.tomcat.util.buf.HexUtils
- Convert 4 hex digits to an int, and return the number of converted bytes.
- convertDigit(int) - Static method in class org.apache.tomcat.util.buf.HexUtils
- [Private] Convert the specified value (0 ..
- convertToBytes(String) - Static method in class org.apache.tomcat.util.buf.ByteChunk
- Convert specified String to a byte array.
- creationTime - Variable in class org.apache.tomcat.util.buf.TimeStamp
D
- DEC - Static variable in class org.apache.tomcat.util.buf.HexUtils
- Table for HEX to DEC byte translation.
- DEFAULT_CHARACTER_ENCODING - Static variable in class org.apache.tomcat.util.buf.ByteChunk
- Default encoding used to convert to strings.
- DateTool - class org.apache.tomcat.util.buf.DateTool.
- Deprecated. Will be replaced with a more efficient impl, based on FastDateFormat, with an API using less objects.
- DateTool() - Constructor for class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- dateValue - Variable in class org.apache.tomcat.util.buf.MessageBytes
- debug - Variable in class org.apache.tomcat.util.buf.B2CConverter
- debug - Static variable in class org.apache.tomcat.util.buf.UDecoder
- debug - Static variable in class org.apache.tomcat.util.buf.UEncoder
- debug - Static variable in class org.apache.tomcat.util.buf.UTF8Decoder
- decode(byte[]) - Method in class org.apache.tomcat.util.buf.Base64
- Decodes Base64 data into octects
- disable() - Method in class org.apache.tomcat.util.buf.IntermediateOutputStream
- Temporary disable - this is used to recycle the converter without generating an output if the buffers were not flushed
- duplicate(MessageBytes) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Copy the src into this MessageBytes, allocating more space if needed
E
- EIGHTBIT - Static variable in class org.apache.tomcat.util.buf.Base64
- enable() - Method in class org.apache.tomcat.util.buf.IntermediateOutputStream
- Reenable - used to recycle the converter
- enabled - Variable in class org.apache.tomcat.util.buf.IntermediateOutputStream
- enc - Variable in class org.apache.tomcat.util.buf.ByteChunk
- enc - Variable in class org.apache.tomcat.util.buf.C2BConverter
- enc - Variable in class org.apache.tomcat.util.buf.StringCache.ByteEntry
- encode(byte[]) - Static method in class org.apache.tomcat.util.buf.Base64
- Encodes hex octects into Base64
- encodeURL(String) - Method in class org.apache.tomcat.util.buf.UEncoder
- Utility funtion to re-encode the URL.
- encoding - Variable in class org.apache.tomcat.util.buf.B2CConverter
- encoding - Variable in class org.apache.tomcat.util.buf.UEncoder
- end - Variable in class org.apache.tomcat.util.buf.ByteChunk
- end - Variable in class org.apache.tomcat.util.buf.CharChunk
- end - Variable in class org.apache.tomcat.util.buf.IntermediateInputStream
- equals(String) - Method in class org.apache.tomcat.util.buf.ByteChunk
- Compares the message bytes to the specified String object.
- equals(ByteChunk) - Method in class org.apache.tomcat.util.buf.ByteChunk
- equals(byte[], int, int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- equals(CharChunk) - Method in class org.apache.tomcat.util.buf.ByteChunk
- equals(char[], int, int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- equals(String) - Method in class org.apache.tomcat.util.buf.CharChunk
- Compares the message bytes to the specified String object.
- equals(CharChunk) - Method in class org.apache.tomcat.util.buf.CharChunk
- equals(char[], int, int) - Method in class org.apache.tomcat.util.buf.CharChunk
- equals(byte[], int, int) - Method in class org.apache.tomcat.util.buf.CharChunk
- equals(String) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Compares the message bytes to the specified String object.
- equals(MessageBytes) - Method in class org.apache.tomcat.util.buf.MessageBytes
- equals(Object) - Method in class org.apache.tomcat.util.buf.StringCache.ByteEntry
- equals(Object) - Method in class org.apache.tomcat.util.buf.StringCache.CharEntry
- equalsIgnoreCase(String) - Method in class org.apache.tomcat.util.buf.ByteChunk
- Compares the message bytes to the specified String object.
- equalsIgnoreCase(String) - Method in class org.apache.tomcat.util.buf.CharChunk
- Compares the message bytes to the specified String object.
- equalsIgnoreCase(String) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Compares the message bytes to the specified String object.
F
- FOURBYTE - Static variable in class org.apache.tomcat.util.buf.Base64
- factory - Static variable in class org.apache.tomcat.util.buf.MessageBytes
- find(ByteChunk) - Static method in class org.apache.tomcat.util.buf.StringCache
- Find an entry given its name in the cache and return the associated String.
- find(CharChunk) - Static method in class org.apache.tomcat.util.buf.StringCache
- Find an entry given its name in the cache and return the associated String.
- findChar(byte[], int, int, char) - Static method in class org.apache.tomcat.util.buf.ByteChunk
- Find a character, no side effects.
- findChars(byte[], int, int, byte[]) - Static method in class org.apache.tomcat.util.buf.ByteChunk
- Find a character, no side effects.
- findClosest(ByteChunk, StringCache.ByteEntry[], int) - Static method in class org.apache.tomcat.util.buf.StringCache
- Find an entry given its name in a sorted array of map elements.
- findClosest(CharChunk, StringCache.CharEntry[], int) - Static method in class org.apache.tomcat.util.buf.StringCache
- Find an entry given its name in a sorted array of map elements.
- findNotChars(byte[], int, int, byte[]) - Static method in class org.apache.tomcat.util.buf.ByteChunk
- Find the first character != c
- flush() - Method in class org.apache.tomcat.util.buf.IntermediateOutputStream
- flush() - Method in class org.apache.tomcat.util.buf.WriteConvertor
- Flush the characters only
- flushBuffer() - Method in class org.apache.tomcat.util.buf.ByteChunk
- Send the buffer to the sink.
- flushBuffer() - Method in class org.apache.tomcat.util.buf.C2BConverter
- Flush any internal buffers into the ByteOutput or the internal byte[]
- flushBuffer() - Method in class org.apache.tomcat.util.buf.CharChunk
- format1123(Date) - Static method in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- format1123(Date, DateFormat) - Static method in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- formatOldCookie(Date, StringBuffer, FieldPosition) - Static method in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- formatOldCookie(Date) - Static method in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
G
- GMT_ZONE - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated. GMT timezone - all HTTP dates are on GMT
- getAccessCount() - Method in class org.apache.tomcat.util.buf.StringCache
- getBuffer() - Method in class org.apache.tomcat.util.buf.ByteChunk
- Returns the message bytes.
- getBuffer() - Method in class org.apache.tomcat.util.buf.CharChunk
- getByteChunk() - Method in class org.apache.tomcat.util.buf.C2BConverter
- getByteChunk() - Method in class org.apache.tomcat.util.buf.MessageBytes
- Returns the byte chunk, representing the byte[] and offset/length.
- getByteEnabled() - Method in class org.apache.tomcat.util.buf.StringCache
- getBytes() - Method in class org.apache.tomcat.util.buf.ByteChunk
- Returns the message bytes.
- getCacheSize() - Method in class org.apache.tomcat.util.buf.StringCache
- getCharChunk() - Method in class org.apache.tomcat.util.buf.MessageBytes
- Returns the char chunk, representing the char[] and offset/length.
- getCharEnabled() - Method in class org.apache.tomcat.util.buf.StringCache
- getChars() - Method in class org.apache.tomcat.util.buf.CharChunk
- getClone() - Method in class org.apache.tomcat.util.buf.ByteChunk
- getClone() - Method in class org.apache.tomcat.util.buf.CharChunk
- getClone() - Method in class org.apache.tomcat.util.buf.MessageBytes
- getCreationTime() - Method in class org.apache.tomcat.util.buf.TimeStamp
- getEncoding() - Method in class org.apache.tomcat.util.buf.ByteChunk
- getEncoding() - Method in class org.apache.tomcat.util.buf.C2BConverter
- getEnd() - Method in class org.apache.tomcat.util.buf.ByteChunk
- getEnd() - Method in class org.apache.tomcat.util.buf.CharChunk
- getHitCount() - Method in class org.apache.tomcat.util.buf.StringCache
- getId() - Method in class org.apache.tomcat.util.buf.TimeStamp
- Each object can have an unique id, similar with name but providing faster access ( array vs.
- getInt() - Method in class org.apache.tomcat.util.buf.ByteChunk
- getInt() - Method in class org.apache.tomcat.util.buf.CharChunk
- getInt() - Method in class org.apache.tomcat.util.buf.MessageBytes
- Convert the buffer to an int, cache the value
- getLastAccessedTime() - Method in class org.apache.tomcat.util.buf.TimeStamp
- getLength() - Method in class org.apache.tomcat.util.buf.ByteChunk
- Returns the length of the bytes.
- getLength() - Method in class org.apache.tomcat.util.buf.CharChunk
- Returns the length of the bytes.
- getLength() - Method in class org.apache.tomcat.util.buf.MessageBytes
- Returns the length of the original buffer.
- getLimit() - Method in class org.apache.tomcat.util.buf.ByteChunk
- getLimit() - Method in class org.apache.tomcat.util.buf.CharChunk
- getLong() - Method in class org.apache.tomcat.util.buf.ByteChunk
- getLong() - Method in class org.apache.tomcat.util.buf.MessageBytes
- Convert the buffer to an long, cache the value
- getMaxInactiveInterval() - Method in class org.apache.tomcat.util.buf.TimeStamp
- Inactive interval in millis - the time is computed in millis, convert to secs in the upper layer
- getName() - Method in class org.apache.tomcat.util.buf.TimeStamp
- Return the "name" of the timestamp.
- getOffset() - Method in class org.apache.tomcat.util.buf.ByteChunk
- getOffset() - Method in class org.apache.tomcat.util.buf.CharChunk
- getParent() - Method in class org.apache.tomcat.util.buf.TimeStamp
- getStart() - Method in class org.apache.tomcat.util.buf.ByteChunk
- Returns the start offset of the bytes.
- getStart() - Method in class org.apache.tomcat.util.buf.CharChunk
- Returns the start offset of the bytes.
- getString() - Method in class org.apache.tomcat.util.buf.MessageBytes
- Returns the string value.
- getThisAccessedTime() - Method in class org.apache.tomcat.util.buf.TimeStamp
- getTime() - Method in class org.apache.tomcat.util.buf.MessageBytes
- Deprecated. The buffer are general purpose, caching for headers should be done in headers
- getTrainThreshold() - Method in class org.apache.tomcat.util.buf.StringCache
- getType() - Method in class org.apache.tomcat.util.buf.MessageBytes
- Return the type of the original content.
H
- HEX - Static variable in class org.apache.tomcat.util.buf.HexUtils
- Table for DEC to HEX byte translation.
- HexUtils - class org.apache.tomcat.util.buf.HexUtils.
- Library of utility methods useful in dealing with converting byte arrays to and from strings of hexadecimal digits.
- HexUtils() - Constructor for class org.apache.tomcat.util.buf.HexUtils
- hasDateValue - Variable in class org.apache.tomcat.util.buf.MessageBytes
- hasHashCode - Variable in class org.apache.tomcat.util.buf.MessageBytes
- hasIntValue - Variable in class org.apache.tomcat.util.buf.MessageBytes
- hasLongValue - Variable in class org.apache.tomcat.util.buf.MessageBytes
- hasStrValue - Variable in class org.apache.tomcat.util.buf.MessageBytes
- hash() - Method in class org.apache.tomcat.util.buf.ByteChunk
- hash() - Method in class org.apache.tomcat.util.buf.CharChunk
- hash() - Method in class org.apache.tomcat.util.buf.MessageBytes
- hashBytes(byte[], int, int) - Static method in class org.apache.tomcat.util.buf.ByteChunk
- hashBytesIC(byte[], int, int) - Static method in class org.apache.tomcat.util.buf.ByteChunk
- hashCode - Variable in class org.apache.tomcat.util.buf.MessageBytes
- hashCode() - Method in class org.apache.tomcat.util.buf.MessageBytes
- hashCode() - Method in class org.apache.tomcat.util.buf.StringCache.ByteEntry
- hashCode() - Method in class org.apache.tomcat.util.buf.StringCache.CharEntry
- hashIgnoreCase() - Method in class org.apache.tomcat.util.buf.ByteChunk
- hashIgnoreCase() - Method in class org.apache.tomcat.util.buf.CharChunk
- hashIgnoreCase() - Method in class org.apache.tomcat.util.buf.MessageBytes
- hitCount - Static variable in class org.apache.tomcat.util.buf.StringCache
- Hit count.
I
- IntermediateInputStream - class org.apache.tomcat.util.buf.IntermediateInputStream.
- Special output stream where close() is overriden, so super.close() is never called.
- IntermediateInputStream() - Constructor for class org.apache.tomcat.util.buf.IntermediateInputStream
- IntermediateOutputStream - class org.apache.tomcat.util.buf.IntermediateOutputStream.
- Special output stream where close() is overriden, so super.close() is never called.
- IntermediateOutputStream(ByteChunk) - Constructor for class org.apache.tomcat.util.buf.IntermediateOutputStream
- id - Variable in class org.apache.tomcat.util.buf.TimeStamp
- iis - Variable in class org.apache.tomcat.util.buf.B2CConverter
- iis - Variable in class org.apache.tomcat.util.buf.ReadConvertor
- in - Variable in class org.apache.tomcat.util.buf.ByteChunk
- in - Variable in class org.apache.tomcat.util.buf.CharChunk
- indexOf(String, int, int, int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- indexOf(char, int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- Returns true if the message bytes starts with the specified string.
- indexOf(byte[], int, int, char) - Static method in class org.apache.tomcat.util.buf.ByteChunk
- indexOf(char) - Method in class org.apache.tomcat.util.buf.CharChunk
- indexOf(char, int) - Method in class org.apache.tomcat.util.buf.CharChunk
- Returns true if the message bytes starts with the specified string.
- indexOf(char[], int, int, char) - Static method in class org.apache.tomcat.util.buf.CharChunk
- indexOf(String, int, int, int) - Method in class org.apache.tomcat.util.buf.CharChunk
- indexOf(char) - Method in class org.apache.tomcat.util.buf.MessageBytes
- indexOf(String, int) - Method in class org.apache.tomcat.util.buf.MessageBytes
- indexOf(String) - Method in class org.apache.tomcat.util.buf.MessageBytes
- indexOf(char, int) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Returns true if the message bytes starts with the specified string.
- indexOfIgnoreCase(String, int) - Method in class org.apache.tomcat.util.buf.MessageBytes
- init() - Method in class org.apache.tomcat.util.buf.UEncoder
- initSafeChars() - Method in class org.apache.tomcat.util.buf.UEncoder
- intValue - Variable in class org.apache.tomcat.util.buf.MessageBytes
- ios - Variable in class org.apache.tomcat.util.buf.C2BConverter
- ios - Variable in class org.apache.tomcat.util.buf.WriteConvertor
- isAlpha - Static variable in class org.apache.tomcat.util.buf.Ascii
- isAlpha(int) - Static method in class org.apache.tomcat.util.buf.Ascii
- Returns true if the specified ASCII character is upper or lower case.
- isArrayByteBase64(byte[]) - Static method in class org.apache.tomcat.util.buf.Base64
- isBase64(byte) - Static method in class org.apache.tomcat.util.buf.Base64
- isDigit - Static variable in class org.apache.tomcat.util.buf.Ascii
- isDigit(int) - Static method in class org.apache.tomcat.util.buf.Ascii
- Returns true if the specified ASCII character is a digit.
- isHexDigit(int) - Static method in class org.apache.tomcat.util.buf.UDecoder
- isLower - Static variable in class org.apache.tomcat.util.buf.Ascii
- isLower(int) - Static method in class org.apache.tomcat.util.buf.Ascii
- Returns true if the specified ASCII character is lower case.
- isNew - Variable in class org.apache.tomcat.util.buf.TimeStamp
- isNew() - Method in class org.apache.tomcat.util.buf.TimeStamp
- isNull() - Method in class org.apache.tomcat.util.buf.ByteChunk
- isNull() - Method in class org.apache.tomcat.util.buf.CharChunk
- isNull() - Method in class org.apache.tomcat.util.buf.MessageBytes
- isOutput - Variable in class org.apache.tomcat.util.buf.ByteChunk
- isOutput - Variable in class org.apache.tomcat.util.buf.CharChunk
- isSet - Variable in class org.apache.tomcat.util.buf.ByteChunk
- isSet - Variable in class org.apache.tomcat.util.buf.CharChunk
- isUpper - Static variable in class org.apache.tomcat.util.buf.Ascii
- isUpper(int) - Static method in class org.apache.tomcat.util.buf.Ascii
- Returns true if the specified ASCII character is upper case.
- isValid - Variable in class org.apache.tomcat.util.buf.TimeStamp
- isValid() - Method in class org.apache.tomcat.util.buf.TimeStamp
- isWhite - Static variable in class org.apache.tomcat.util.buf.Ascii
- isWhite(int) - Static method in class org.apache.tomcat.util.buf.Ascii
- Returns true if the specified ASCII character is white space.
L
- LOCALE_US - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated. US locale - all HTTP dates are in english
- LOOKUPLENGTH - Static variable in class org.apache.tomcat.util.buf.Base64
- lastAccessedTime - Variable in class org.apache.tomcat.util.buf.TimeStamp
- len - Variable in class org.apache.tomcat.util.buf.IntermediateInputStream
- limit - Variable in class org.apache.tomcat.util.buf.ByteChunk
- limit - Variable in class org.apache.tomcat.util.buf.CharChunk
- log - Static variable in class org.apache.tomcat.util.buf.B2CConverter
- log(String) - Method in class org.apache.tomcat.util.buf.B2CConverter
- log - Static variable in class org.apache.tomcat.util.buf.Base64
- log - Static variable in class org.apache.tomcat.util.buf.C2BConverter
- log - Static variable in class org.apache.tomcat.util.buf.StringCache
- log - Static variable in class org.apache.tomcat.util.buf.UDecoder
- log(String) - Static method in class org.apache.tomcat.util.buf.UDecoder
- log - Static variable in class org.apache.tomcat.util.buf.UEncoder
- log(String) - Static method in class org.apache.tomcat.util.buf.UEncoder
- log - Static variable in class org.apache.tomcat.util.buf.UTF8Decoder
- log(String) - Method in class org.apache.tomcat.util.buf.UTF8Decoder
- longValue - Variable in class org.apache.tomcat.util.buf.MessageBytes
- lookUpBase64Alphabet - Static variable in class org.apache.tomcat.util.buf.Base64
M
- MessageBytes - class org.apache.tomcat.util.buf.MessageBytes.
- This class is used to represent a subarray of bytes in an HTTP message.
- MessageBytes() - Constructor for class org.apache.tomcat.util.buf.MessageBytes
- Deprecated. Use static newInstance() in order to allow future hooks.
- MessageBytes.MessageBytesFactory - class org.apache.tomcat.util.buf.MessageBytes.MessageBytesFactory.
- MessageBytes.MessageBytesFactory() - Constructor for class org.apache.tomcat.util.buf.MessageBytes.MessageBytesFactory
- makeSpace(int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- Make space for len chars.
- makeSpace(int) - Method in class org.apache.tomcat.util.buf.CharChunk
- Make space for len chars.
- maxInactiveInterval - Variable in class org.apache.tomcat.util.buf.TimeStamp
- min(int, int) - Method in class org.apache.tomcat.util.buf.CharChunk
N
- name - Variable in class org.apache.tomcat.util.buf.StringCache.ByteEntry
- name - Variable in class org.apache.tomcat.util.buf.StringCache.CharEntry
- name - Variable in class org.apache.tomcat.util.buf.TimeStamp
- newInstance() - Method in class org.apache.tomcat.util.buf.MessageBytes.MessageBytesFactory
- newInstance() - Static method in class org.apache.tomcat.util.buf.MessageBytes
- Construct a new MessageBytes instance
O
- OLD_COOKIE_PATTERN - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated. Pattern used for old cookies
- oldCookieFormat - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated. DateFormat to be used to format old netscape cookies Called from ServerCookie
- optimizedWrite - Variable in class org.apache.tomcat.util.buf.ByteChunk
- optimizedWrite - Variable in class org.apache.tomcat.util.buf.CharChunk
- org.apache.tomcat.util.buf - package org.apache.tomcat.util.buf
- out - Variable in class org.apache.tomcat.util.buf.ByteChunk
- out - Variable in class org.apache.tomcat.util.buf.CharChunk
P
- PAD - Static variable in class org.apache.tomcat.util.buf.Base64
- parent - Variable in class org.apache.tomcat.util.buf.TimeStamp
- parseDate(MessageBytes) - Static method in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- parseDate(String) - Static method in class org.apache.tomcat.util.buf.DateTool
- Deprecated. Called from HttpServletRequest.getDateHeader().
- parseDate(String, DateFormat[]) - Static method in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- parseInt(byte[], int, int) - Static method in class org.apache.tomcat.util.buf.Ascii
- Parses an unsigned integer from the specified subarray of bytes.
- parseInt(char[], int, int) - Static method in class org.apache.tomcat.util.buf.Ascii
- parseLong(byte[], int, int) - Static method in class org.apache.tomcat.util.buf.Ascii
- Parses an unsigned long from the specified subarray of bytes.
- parseLong(char[], int, int) - Static method in class org.apache.tomcat.util.buf.Ascii
- pos - Variable in class org.apache.tomcat.util.buf.IntermediateInputStream
R
- RFC1123_PATTERN - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated. format for RFC 1123 date string -- "Sun, 06 Nov 1994 08:49:37 GMT"
- ReadConvertor - class org.apache.tomcat.util.buf.ReadConvertor.
- ReadConvertor(IntermediateInputStream, String) - Constructor for class org.apache.tomcat.util.buf.ReadConvertor
- Create a converter.
- read(byte[], int, int) - Method in class org.apache.tomcat.util.buf.IntermediateInputStream
- read() - Method in class org.apache.tomcat.util.buf.IntermediateInputStream
- read(char[], int, int) - Method in class org.apache.tomcat.util.buf.ReadConvertor
- realReadBytes(byte[], int, int) - Method in interface org.apache.tomcat.util.buf.ByteChunk.ByteInputChannel
- Read new bytes ( usually the internal conversion buffer ).
- realReadChars(char[], int, int) - Method in interface org.apache.tomcat.util.buf.CharChunk.CharInputChannel
- Read new bytes ( usually the internal conversion buffer ).
- realWriteBytes(byte[], int, int) - Method in interface org.apache.tomcat.util.buf.ByteChunk.ByteOutputChannel
- Send the bytes ( usually the internal conversion buffer ).
- realWriteChars(char[], int, int) - Method in interface org.apache.tomcat.util.buf.CharChunk.CharOutputChannel
- Send the bytes ( usually the internal conversion buffer ).
- recycle() - Method in class org.apache.tomcat.util.buf.B2CConverter
- Reset the internal state, empty the buffers.
- recycle() - Method in class org.apache.tomcat.util.buf.ByteChunk
- Resets the message buff to an uninitialized state.
- recycle() - Method in class org.apache.tomcat.util.buf.C2BConverter
- Reset the internal state, empty the buffers.
- recycle() - Method in class org.apache.tomcat.util.buf.CharChunk
- Resets the message bytes to an uninitialized state.
- recycle() - Method in class org.apache.tomcat.util.buf.MessageBytes
- Resets the message bytes to an uninitialized (NULL) state.
- recycle() - Method in class org.apache.tomcat.util.buf.ReadConvertor
- Reset the buffer
- recycle() - Method in class org.apache.tomcat.util.buf.TimeStamp
- recycle() - Method in class org.apache.tomcat.util.buf.UTF8Decoder
- recycle() - Method in class org.apache.tomcat.util.buf.WriteConvertor
- Reset the buffer
- reset() - Method in class org.apache.tomcat.util.buf.B2CConverter
- reset() - Method in class org.apache.tomcat.util.buf.ByteChunk
- reset() - Method in class org.apache.tomcat.util.buf.CharChunk
- reset() - Method in class org.apache.tomcat.util.buf.StringCache
- resetStringValue() - Method in class org.apache.tomcat.util.buf.MessageBytes
- Remove the cached string value.
- result - Variable in class org.apache.tomcat.util.buf.B2CConverter
- rfc1036Format - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- rfc1036Pattern - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- rfc1123DS - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- rfc1123Format - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated. DateFormat to be used to format dates.
- rfc1123Sec - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
S
- SIXBIT - Static variable in class org.apache.tomcat.util.buf.Base64
- SIXTEENBIT - Static variable in class org.apache.tomcat.util.buf.Base64
- StringCache - class org.apache.tomcat.util.buf.StringCache.
- This class implements a String cache for ByteChunk and CharChunk.
- StringCache() - Constructor for class org.apache.tomcat.util.buf.StringCache
- StringCache.ByteEntry - class org.apache.tomcat.util.buf.StringCache.ByteEntry.
- StringCache.ByteEntry() - Constructor for class org.apache.tomcat.util.buf.StringCache.ByteEntry
- StringCache.CharEntry - class org.apache.tomcat.util.buf.StringCache.CharEntry.
- StringCache.CharEntry() - Constructor for class org.apache.tomcat.util.buf.StringCache.CharEntry
- safeChars - Variable in class org.apache.tomcat.util.buf.UEncoder
- setBuffer(byte[], int, int) - Method in class org.apache.tomcat.util.buf.IntermediateInputStream
- setByteChunk(ByteChunk) - Method in class org.apache.tomcat.util.buf.C2BConverter
- setByteChunk(ByteChunk) - Method in class org.apache.tomcat.util.buf.IntermediateInputStream
- setByteChunk(ByteChunk) - Method in class org.apache.tomcat.util.buf.IntermediateOutputStream
- setByteEnabled(boolean) - Method in class org.apache.tomcat.util.buf.StringCache
- setByteInputChannel(ByteChunk.ByteInputChannel) - Method in class org.apache.tomcat.util.buf.ByteChunk
- When the buffer is empty, read the data from the input channel.
- setByteOutputChannel(ByteChunk.ByteOutputChannel) - Method in class org.apache.tomcat.util.buf.ByteChunk
- When the buffer is full, write the data to the output channel.
- setBytes(byte[], int, int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- Sets the message bytes to the specified subarray of bytes.
- setBytes(byte[], int, int) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Sets the content to the specified subarray of bytes.
- setCacheSize(int) - Method in class org.apache.tomcat.util.buf.StringCache
- setCaseSenitive(boolean) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Configure the case sensitivity
- setCharEnabled(boolean) - Method in class org.apache.tomcat.util.buf.StringCache
- setCharInputChannel(CharChunk.CharInputChannel) - Method in class org.apache.tomcat.util.buf.CharChunk
- When the buffer is empty, read the data from the input channel.
- setCharOutputChannel(CharChunk.CharOutputChannel) - Method in class org.apache.tomcat.util.buf.CharChunk
- When the buffer is full, write the data to the output channel.
- setChars(char[], int, int) - Method in class org.apache.tomcat.util.buf.CharChunk
- setChars(char[], int, int) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Sets the content to be a char[]
- setCreationTime(long) - Method in class org.apache.tomcat.util.buf.TimeStamp
- setEncoding(String) - Method in class org.apache.tomcat.util.buf.ByteChunk
- setEncoding(String) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Set the encoding.
- setEncoding(String) - Method in class org.apache.tomcat.util.buf.UEncoder
- setEnd(int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- setEnd(int) - Method in class org.apache.tomcat.util.buf.CharChunk
- setFactory(MessageBytes.MessageBytesFactory) - Static method in class org.apache.tomcat.util.buf.MessageBytes
- setId(int) - Method in class org.apache.tomcat.util.buf.TimeStamp
- setInt(int) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Set the buffer to the representation of an int
- setLimit(int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- Maximum amount of data in this buffer.
- setLimit(int) - Method in class org.apache.tomcat.util.buf.CharChunk
- Maximum amount of data in this buffer.
- setLong(long) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Set the buffer to the representation of an long
- setMaxInactiveInterval(long) - Method in class org.apache.tomcat.util.buf.TimeStamp
- setNew(boolean) - Method in class org.apache.tomcat.util.buf.TimeStamp
- setOffset(int) - Method in class org.apache.tomcat.util.buf.ByteChunk
- setOffset(int) - Method in class org.apache.tomcat.util.buf.CharChunk
- Returns the start offset of the bytes.
- setOptimizedWrite(boolean) - Method in class org.apache.tomcat.util.buf.ByteChunk
- setOptimizedWrite(boolean) - Method in class org.apache.tomcat.util.buf.CharChunk
- setParent(Object) - Method in class org.apache.tomcat.util.buf.TimeStamp
- Returns the owner of this stamp ( the object that is time-stamped ).
- setString(String) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Set the content to be a string
- setTime(long, DateFormat) - Method in class org.apache.tomcat.util.buf.MessageBytes
- Deprecated. The buffer are general purpose, caching for headers should be done in headers. The second parameter allows us to pass a date format instance to avoid synchronization problems.
- setTime(long) - Method in class org.apache.tomcat.util.buf.MessageBytes
- setTrainThreshold(int) - Method in class org.apache.tomcat.util.buf.StringCache
- setValid(boolean) - Method in class org.apache.tomcat.util.buf.TimeStamp
- sm - Static variable in class org.apache.tomcat.util.buf.DateTool
- Deprecated.
- sm - Static variable in class org.apache.tomcat.util.buf.HexUtils
- The string manager for this package.
- start - Variable in class org.apache.tomcat.util.buf.ByteChunk
- start - Variable in class org.apache.tomcat.util.buf.CharChunk
- startsWith(String) - Method in class org.apache.tomcat.util.buf.ByteChunk
- Returns true if the message bytes starts with the specified string.
- startsWith(byte[]) - Method in class org.apache.tomcat.util.buf.ByteChunk
- startsWith(String) - Method in class org.apache.tomcat.util.buf.CharChunk
- Returns true if the message bytes starts with the specified string.
- startsWith(String) - Method in class org.apache.tomcat.util.buf.MessageBytes<