| Package | Description |
|---|---|
| org.apache.coyote | |
| org.apache.coyote.http11 | |
| org.apache.tomcat.util.buf |
Buffers and Encodings
|
| org.apache.tomcat.util.collections |
Specialized collections
|
| org.apache.tomcat.util.http |
Special utils for handling HTTP-specific entities - headers, parameters,
cookies, etc.
|
| org.apache.tomcat.util.http.mapper |
| Modifier and Type | Method and Description |
|---|---|
MessageBytes |
Request.contentType() |
MessageBytes |
Request.decodedURI() |
MessageBytes |
Request.getAuthType() |
MessageBytes |
Request.getRemoteUser() |
MessageBytes |
Request.instanceId()
Get the instance id (or JVM route).
|
MessageBytes |
Request.localAddr() |
MessageBytes |
Request.localName() |
MessageBytes |
Request.method() |
MessageBytes |
Request.protocol() |
MessageBytes |
Request.query() |
MessageBytes |
Request.queryString() |
MessageBytes |
Request.remoteAddr() |
MessageBytes |
Request.remoteHost() |
MessageBytes |
Request.requestURI() |
MessageBytes |
Request.scheme() |
MessageBytes |
Request.serverName()
Return the buffer holding the server name, if
any.
|
MessageBytes |
Request.unparsedURI() |
| Modifier and Type | Method and Description |
|---|---|
void |
Request.setContentType(MessageBytes mb) |
| Modifier and Type | Method and Description |
|---|---|
void |
Http11Processor.parseHost(MessageBytes valueMB)
Parse host.
|
void |
InternalOutputBuffer.sendHeader(MessageBytes name,
MessageBytes value)
Send a header.
|
protected void |
InternalOutputBuffer.write(MessageBytes mb)
This method will write the contents of the specyfied message bytes
buffer to the output stream, without filtering.
|
| Modifier and Type | Method and Description |
|---|---|
MessageBytes |
MessageBytes.getClone() |
MessageBytes |
TimeStamp.getName()
Return the "name" of the timestamp.
|
static MessageBytes |
MessageBytes.newInstance()
Construct a new MessageBytes instance
|
MessageBytes |
MessageBytes.MessageBytesFactory.newInstance() |
| Modifier and Type | Method and Description |
|---|---|
void |
C2BConverter.convert(MessageBytes mb)
Convert a message bytes chars to bytes
|
void |
UDecoder.convert(MessageBytes mb)
URLDecode, will modify the source
Includes converting '+' to ' '.
|
void |
UDecoder.convert(MessageBytes mb,
boolean query)
URLDecode, will modify the source
|
static void |
B2CConverter.convertASCII(MessageBytes mb)
Character conversion of a US-ASCII MessageBytes.
|
void |
MessageBytes.duplicate(MessageBytes src)
Copy the src into this MessageBytes, allocating more space if
needed
|
| Modifier and Type | Method and Description |
|---|---|
MessageBytes |
MultiMap.get(String name) |
MessageBytes |
MultiMap.getName(int n)
Returns the Nth header name
This may be used to iterate through all header fields.
|
MessageBytes |
MultiMap.getValue(int n)
Returns the Nth header value
This may be used to iterate through all header fields.
|
| Modifier and Type | Method and Description |
|---|---|
MessageBytes |
MimeHeaders.addValue(byte[] b,
int startN,
int len)
Create a new named header using un-translated byte[].
|
MessageBytes |
MimeHeaders.addValue(char[] c,
int startN,
int len)
Create a new named header using translated char[].
|
MessageBytes |
MimeHeaders.addValue(String name)
Create a new named header , return the MessageBytes
container for the new value
|
MessageBytes |
BaseRequest.authorization()
Get the authorization credentials
|
MessageBytes |
BaseRequest.authType()
Get the auth type
|
MessageBytes |
BaseRequest.contentType()
Get the content type
|
MessageBytes |
ServerCookie.getComment() |
MessageBytes |
ServerCookie.getDomain() |
MessageBytes |
ServerCookie.getName() |
MessageBytes |
MimeHeaders.getName(int n)
Returns the Nth header name, or null if there is no such header.
|
MessageBytes |
ServerCookie.getPath() |
MessageBytes |
MimeHeaders.getUniqueValue(String name)
Finds and returns a unique header field with the given name.
|
MessageBytes |
ServerCookie.getValue() |
MessageBytes |
MimeHeaders.getValue(int n)
Returns the Nth header value, or null if there is no such header.
|
MessageBytes |
MimeHeaders.getValue(String name)
Finds and returns a header field with the given name.
|
MessageBytes |
BaseRequest.instanceId()
Get the host id ( or jvmRoute )
|
MessageBytes |
BaseRequest.jvmRoute() |
MessageBytes |
BaseRequest.method()
Get the method.
|
MessageBytes |
BaseRequest.protocol()
Get the protocol
|
MessageBytes |
BaseRequest.queryString()
Get the query string
|
MessageBytes |
BaseRequest.remoteAddr()
Get the remote address
|
MessageBytes |
BaseRequest.remoteHost()
Get the remote host
|
MessageBytes |
BaseRequest.remoteUser()
Get the remote user
|
MessageBytes |
BaseRequest.requestURI()
Get the request uri
|
MessageBytes |
BaseRequest.serverName()
Get the server name
|
MessageBytes |
MimeHeaders.setValue(String name)
Allow "set" operations -
return a MessageBytes container for the
header value ( existing header or new
if this .
|
| Modifier and Type | Method and Description |
|---|---|
void |
Parameters.processParameters(MessageBytes data) |
void |
Parameters.processParameters(MessageBytes data,
String encoding) |
void |
Parameters.setQuery(MessageBytes queryMB) |
| Modifier and Type | Field and Description |
|---|---|
MessageBytes |
MappingData.contextPath |
MessageBytes |
MappingData.pathInfo |
MessageBytes |
MappingData.redirectPath |
MessageBytes |
MappingData.requestPath |
MessageBytes |
MappingData.wrapperPath |
| Modifier and Type | Method and Description |
|---|---|
void |
Mapper.map(MessageBytes uri,
MappingData mappingData)
Map the specified URI relative to the context,
mutating the given mapping data.
|
void |
Mapper.map(MessageBytes host,
MessageBytes uri,
MappingData mappingData)
Map the specified host name and URI, mutating the given mapping data.
|
Copyright © 2005–2017 Oracle Corporation. All rights reserved.