Package | Description |
---|---|
org.apache.catalina.connector | |
org.apache.catalina.core | |
org.apache.coyote | |
org.apache.coyote.ajp | |
org.apache.coyote.http11 | |
org.apache.tomcat.util.buf |
Buffers and Encodings
|
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.getContextPathMB()
Get the context path.
|
MessageBytes |
Request.getDecodedRequestURIMB()
Get the decoded request URI.
|
MessageBytes |
Request.getPathInfoMB()
Get the path info.
|
MessageBytes |
Request.getRequestPathMB()
Get the request path.
|
MessageBytes |
Request.getServletPathMB()
Get the servlet path.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
CoyoteAdapter.checkNormalize(MessageBytes uriMB)
Check that the URI is normalized following character decoding.
|
protected void |
CoyoteAdapter.convertMB(MessageBytes mb)
Character conversion of the a US-ASCII MessageBytes.
|
protected void |
CoyoteAdapter.convertURI(MessageBytes uri,
Request request)
Character conversion of the URI.
|
static boolean |
CoyoteAdapter.normalize(MessageBytes uriMB)
Normalize URI.
|
Modifier and Type | Method and Description |
---|---|
MessageBytes |
DummyRequest.getContextPathMB() |
MessageBytes |
DummyRequest.getDecodedRequestURIMB() |
MessageBytes |
DummyRequest.getPathInfoMB() |
MessageBytes |
DummyRequest.getRequestPathMB() |
MessageBytes |
DummyRequest.getServletPathMB() |
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 | Field and Description |
---|---|
protected MessageBytes |
AjpProcessor.bodyBytes
Body message.
|
protected MessageBytes |
AjpAprProcessor.bodyBytes
Body message.
|
protected MessageBytes |
AjpProcessor.certificates
Byte chunk for certs.
|
protected MessageBytes |
AjpAprProcessor.certificates
Byte chunk for certs.
|
protected MessageBytes |
AjpProcessor.tmpMB
Temp message bytes used for processing.
|
protected MessageBytes |
AjpAprProcessor.tmpMB
Temp message bytes used for processing.
|
Modifier and Type | Method and Description |
---|---|
void |
AjpMessage.appendBytes(MessageBytes mb)
Write a MessageBytes out at the current write position.
|
void |
AjpMessage.getBytes(MessageBytes mb) |
void |
AjpProcessor.parseHost(MessageBytes valueMB)
Parse host.
|
void |
AjpAprProcessor.parseHost(MessageBytes valueMB)
Parse host.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Http11AprProcessor.parseHost(MessageBytes valueMB)
Parse host.
|
protected void |
Http11Processor.parseHost(MessageBytes valueMB)
Parse host.
|
protected void |
Http11NioProcessor.parseHost(MessageBytes valueMB)
Parse host.
|
void |
InternalOutputBuffer.sendHeader(MessageBytes name,
MessageBytes value)
Send a header.
|
void |
InternalNioOutputBuffer.sendHeader(MessageBytes name,
MessageBytes value)
Send a header.
|
void |
InternalAprOutputBuffer.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.
|
protected void |
InternalNioOutputBuffer.write(MessageBytes mb)
This method will write the contents of the specyfied message bytes buffer
to the output stream, without filtering.
|
protected void |
InternalAprOutputBuffer.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 |
UDecoder.convert(MessageBytes mb)
URLDecode, will modify the source
Includes converting '+' to ' '.
|
void |
UDecoder.convert(MessageBytes mb,
boolean query)
URLDecode, will modify the source
|
void |
MessageBytes.duplicate(MessageBytes src)
Copy the src into this MessageBytes, allocating more space if
needed
|
boolean |
MessageBytes.equals(MessageBytes mb) |
Modifier and Type | Field and Description |
---|---|
protected MessageBytes |
MimeHeaders.MimeHeaderField.nameB |
protected MessageBytes |
MimeHeaders.ValuesEnumerator.next |
protected MessageBytes |
MimeHeaders.MimeHeaderField.valueB |
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.MimeHeaderField.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.MimeHeaderField.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,
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 © 2016 JBoss by Red Hat. All rights reserved.