A B C D E F G H I J L M N O P R S T U V

A

AbstractPreprocessor - Class in m.c.m.proxyma.plugins.preprocessors
This is the abstract class of a preprocessor plugin.
AbstractPreprocessor() - Constructor for class m.c.m.proxyma.plugins.preprocessors.AbstractPreprocessor
 
AbstractRetriver - Class in m.c.m.proxyma.plugins.retrivers
This is the abstract class of a retriver plugin.
AbstractRetriver() - Constructor for class m.c.m.proxyma.plugins.retrivers.AbstractRetriver
 
AbstractSerializer - Class in m.c.m.proxyma.plugins.serializers
This is the abstract class of a serializer plugin.
AbstractSerializer() - Constructor for class m.c.m.proxyma.plugins.serializers.AbstractSerializer
 
AbstractTransformer - Class in m.c.m.proxyma.plugins.transformers
This is the abstract class of a transformer plugin.
AbstractTransformer() - Constructor for class m.c.m.proxyma.plugins.transformers.AbstractTransformer
 
addAttibute(String, Object) - Method in class m.c.m.proxyma.resource.ProxymaResource
Add a new Attribute to the resource.
addCookie(Cookie) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Adds a Cookie to the response.
addHeader(String, int) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Adds an header to the response headers using the given name and value to create it.
addHeader(String, long) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Adds an header to the response headers using the given name and value to create it.
addHeader(String, String) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Adds an header to the response headers using the given name and value to create it.
addProxyFolder(ProxyFolderBean) - Method in class m.c.m.proxyma.context.ProxymaContext
Add a new ProxyFolder to the context.
appendByte(int) - Method in interface m.c.m.proxyma.buffers.ByteBuffer
Append the passed byte to the buffer.
appendByte(int) - Method in class m.c.m.proxyma.buffers.FileBuffer
Append the passed byte to the file.
appendByte(int) - Method in class m.c.m.proxyma.buffers.RamBuffer
Append the passed byte to the buffer.
appendByte(int) - Method in class m.c.m.proxyma.buffers.SmartBuffer
Append the passed byte to the buffer.
appendBytes(byte[], int) - Method in interface m.c.m.proxyma.buffers.ByteBuffer
Append the passed byte array to the buffer making an internal copy of it.
appendBytes(byte[], int) - Method in class m.c.m.proxyma.buffers.FileBuffer
Append the passed byte array to the buffer storing data into the temporary file.
appendBytes(byte[], int) - Method in class m.c.m.proxyma.buffers.RamBuffer
Append the passed byte array to the buffer making an internal copy of it.
appendBytes(byte[], int) - Method in class m.c.m.proxyma.buffers.SmartBuffer
Append the passed byte array to the buffer.
AVAILABLE_CACHE_PROVIDERS - Static variable in class m.c.m.proxyma.ProxymaTags
 
AVAILABLE_PREPROCESSORS - Static variable in class m.c.m.proxyma.ProxymaTags
 
AVAILABLE_RETRIVERS - Static variable in class m.c.m.proxyma.ProxymaTags
 
AVAILABLE_SERIALIZERS - Static variable in class m.c.m.proxyma.ProxymaTags
 
AVAILABLE_TRANSFORMERS - Static variable in class m.c.m.proxyma.ProxymaTags
 

B

ByteBuffer - Interface in m.c.m.proxyma.buffers
This is a common interface for my Buffer classes.
ByteBufferFactory - Class in m.c.m.proxyma.buffers
This class is the factory for the ByteBuffers implementations and allows the users to change the buffers implementation as needed.
ByteBufferFactory() - Constructor for class m.c.m.proxyma.buffers.ByteBufferFactory
 
ByteBufferReader - Interface in m.c.m.proxyma.buffers
This is a common interface to read into my Buffer classes.

C

CACHE_CONTROL_MAX_AGE - Static variable in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
Cache control value that means: this can be cached for X seconds
CACHE_CONTROL_NO_CACHE - Static variable in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
No cache value for the Pragma header
CACHE_CONTROL_NO_STORE - Static variable in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
Cache control value that means: no, don't cache this
CACHE_CONTROL_PRIVATE - Static variable in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
Cache control value that means: You can cache it only for this user.
CACHE_CONTROL_PUBLIC - Static variable in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
Cache control value that means: ok, cache it!
CACHE_CONTROL_S_MAXAGE - Static variable in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
Similar to the previous but for shared caches
CacheProvider - Interface in m.c.m.proxyma.plugins.caches
This is the interface to implement to provide a CacheProvider to the proxy engine.
CharsetInspectorTransformer - Class in m.c.m.proxyma.plugins.transformers
This plugin implements an html Charset inspector.
CharsetInspectorTransformer(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.transformers.CharsetInspectorTransformer
The default constructor for this class
It prepares the context logger and the logger for the access-log.
clone() - Method in interface m.c.m.proxyma.buffers.ByteBuffer
Returns a separate but inentical instance of the object
clone() - Method in class m.c.m.proxyma.buffers.FileBuffer
This method clones the current object.
clone() - Method in class m.c.m.proxyma.buffers.RamBuffer
This method clones the current object.
clone() - Method in class m.c.m.proxyma.buffers.SmartBuffer
This method clones the current object.
clone() - Method in class m.c.m.proxyma.resource.ProxymaHttpHeader
This method clone the current header.
clone() - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
This method clone the current response data into a new separated object.
CONFIG_FILE_VERSION - Static variable in class m.c.m.proxyma.ProxymaTags
 
containsCookie(String) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Checks whether the response has already a Cookie with the specified name.
containsHeader(String) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Checks whether the response has already an header with the specified name.
CONTENT_ENCODING_HEADER - Static variable in class m.c.m.proxyma.plugins.retrivers.SimpleHttpRetriver
The standard content-encoding header.
CookieRewriteEngine - Class in m.c.m.proxyma.rewrite
This Class implements the logic of the Cookies rewriter engine.
CookieRewriteEngine(ProxymaContext) - Constructor for class m.c.m.proxyma.rewrite.CookieRewriteEngine
 
CookiesRewritePreprocessor - Class in m.c.m.proxyma.plugins.preprocessors
This preprocessor recognizes the cookies that were modified by the CookiesRewriteTransformer and restores the original values on them.
CookiesRewritePreprocessor(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.preprocessors.CookiesRewritePreprocessor
The default constructor for this class
It prepares the context logger and the logger for the access-log.
CookiesRewriteTransformer - Class in m.c.m.proxyma.plugins.transformers
This Transformer processes all the cookies fuonded into the response.
CookiesRewriteTransformer(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.transformers.CookiesRewriteTransformer
The default constructor for this class
It prepares the context logger and the logger for the access-log.
createErrorResponse(int, ProxymaContext) - Static method in class m.c.m.proxyma.core.ProxyInternalResponsesFactory
Generates an error page response.
createFoldersListResponse(ProxymaContext) - Static method in class m.c.m.proxyma.core.ProxyInternalResponsesFactory
Generates a new response page with the list of the configured folders.
createNewByteBuffer(ProxymaContext) - Static method in class m.c.m.proxyma.buffers.ByteBufferFactory
Creates a new instance of a ByteBuffer implementation.
createNewByteBufferReader(ByteBuffer) - Static method in class m.c.m.proxyma.buffers.ByteBufferFactory
Creates a new instance of a ByteBufferReader implementation.
createNewContext(String, String, String, String) - Method in class m.c.m.proxyma.ProxymaFacade
Register a new Proxyma Context into the Application Environment.
createNewProxyEngine(ProxymaContext) - Method in class m.c.m.proxyma.core.ProxyEngineFactory
The constructor for this class.
createNewProxyEngine(ProxymaContext) - Method in class m.c.m.proxyma.ProxymaFacade
This method creates a new instance of the Proxyma Proxy-Engine, the core of this project.
createNewProxyFolder(String, String, ProxymaContext) - Method in class m.c.m.proxyma.context.ProxyFolderFactory
Builds a new ProxyFolder to the specified destination setting it up and ready to be attached to a context.
createNewProxyFolder(String, String, ProxymaContext) - Method in class m.c.m.proxyma.ProxymaFacade
Builds a new default ProxyFolder to the specified destination setting.
createNewResource(HttpServletRequest, HttpServletResponse, ProxymaContext) - Method in class m.c.m.proxyma.ProxymaFacade
This method creates a complete instance of ProxymaResource form a servlet request, a servlet response and a proxyma context.
createNewResource(HttpServletRequest, HttpServletResponse, ProxymaContext) - Method in class m.c.m.proxyma.resource.ProxymaResourceFactory
This method creates a complete instance of ProxymaResource form a servlet request, a servlet response and a proxyma context.
createRedirectResponse(String, ProxymaContext) - Static method in class m.c.m.proxyma.core.ProxyInternalResponsesFactory
Generates a listPage response to the specified destination.
CssUrlRewriteTransformer - Class in m.c.m.proxyma.plugins.transformers
This plugin implements a Style Sheets Rewriter.
CssUrlRewriteTransformer(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.transformers.CssUrlRewriteTransformer
The default constructor for this class
It prepares the context logger and the logger for the access-log.

D

DebugSerializer - Class in m.c.m.proxyma.plugins.serializers
This plugin is a simple text serializer.
DebugSerializer(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.serializers.DebugSerializer
The default constructor for this class
It prepares the context logger and the logger for the access-log.
DEFAULT_LOGGER_PREFIX - Static variable in class m.c.m.proxyma.ProxymaTags
 
deleteAttribute(String) - Method in class m.c.m.proxyma.resource.ProxymaResource
Remove an attribute from the resource
deleteCookie(String) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Removes the Cookie with the given name.
deleteHeader(String) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Removes an header from the response data.
destroyContext(ProxymaContext) - Method in class m.c.m.proxyma.ProxymaFacade
Remove an existin Proxyma Context form the Application Environment.
disableProxyFolder(ProxyFolderBean) - Method in class m.c.m.proxyma.ProxymaFacade
Diable the passed proxyFolder
doProxy(ProxymaResource) - Method in class m.c.m.proxyma.core.ProxyEngine
This is the core method of this project.

E

EhcacheCacheProvider - Class in m.c.m.proxyma.plugins.caches
This is a wrapper for the famous ecache cache subsystem.
EhcacheCacheProvider(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
The default constructor for all the plugins.
enableProxyFolder(ProxyFolderBean) - Method in class m.c.m.proxyma.ProxymaFacade
Enable the passed proxyFolder

F

FileBuffer - Class in m.c.m.proxyma.buffers
This class implements a ByteBuffer that can be used to store large and small binary data.
FileBuffer() - Constructor for class m.c.m.proxyma.buffers.FileBuffer
Create a file buffer over a temporary file.
FileBufferReader - Class in m.c.m.proxyma.buffers
This class implements a Reader Class for the FileBuffer.
FileBufferReader(FileBuffer) - Constructor for class m.c.m.proxyma.buffers.FileBufferReader
Create a reader ovedr the given FileBuffer
finalize() - Method in class m.c.m.proxyma.buffers.FileBuffer
close and delete the temporary file..
finalize() - Method in class m.c.m.proxyma.buffers.FileBufferReader
close and delete the temporary file..
FOLDER_CACHEPROVIDER - Static variable in class m.c.m.proxyma.ProxymaTags
 
FOLDER_ENABLED - Static variable in class m.c.m.proxyma.ProxymaTags
 
FOLDER_MAX_POST_SIZE - Static variable in class m.c.m.proxyma.ProxymaTags
 
FOLDER_PREPROCESSORS - Static variable in class m.c.m.proxyma.ProxymaTags
 
FOLDER_RETRIVER - Static variable in class m.c.m.proxyma.ProxymaTags
 
FOLDER_SERIALIZER - Static variable in class m.c.m.proxyma.ProxymaTags
 
FOLDER_TRANSFORMERS - Static variable in class m.c.m.proxyma.ProxymaTags
 
format(LogRecord) - Method in class m.c.m.proxyma.log.OnlyTheMessageFormatter
 

G

getAttribute(String) - Method in class m.c.m.proxyma.resource.ProxymaResource
Get an attribute (if exists) from the resource using its name
getAttributeNames() - Method in class m.c.m.proxyma.resource.ProxymaResource
Returns a collection of attribute names stored into the resource
getBytesLeftCount() - Method in class m.c.m.proxyma.buffers.RamBufferReader
Obtain the number of unreaded bytes into the buffer
getCachedURIs() - Method in interface m.c.m.proxyma.plugins.caches.CacheProvider
Method provided to get a collection on URIs (keys for the cache matching) that are stored into the cache subsystem.
getCachedURIs() - Method in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
This method does nothing.
getCachedURIs() - Method in class m.c.m.proxyma.plugins.caches.NullCacheProvider
This method does nothing.
getCacheProvider() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard getter method to obtain the active cache provider class name
getCharacterEncoding() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the name of the character encoding style used in this request.
getCharacterEncoding() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the name of the character encoding style used in this request.
getContentLenght() - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Returns the size in bytes of the raw binary data stored into the response
..or in other words, the value to set for the Content-Length header.
getContentType() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the MIME type of the content of the request, or null if the type is not known.
getContentType() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the MIME type of the content of the request, or null if the type is not known.
getContext() - Method in class m.c.m.proxyma.resource.ProxymaResource
Returns the contex where this resource was generated.
getContextByName(String) - Method in class m.c.m.proxyma.context.ProxymaContextPool
Obtain an existing context by name.
getContextByName(String) - Method in class m.c.m.proxyma.ProxymaFacade
Obtain an existing context using its unique name.
getContextProxyFolders(ProxymaContext) - Method in class m.c.m.proxyma.ProxymaFacade
Returns all the proxyFolders form the passed context.
getContextURLPath() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the base path of proxyma from the request (without host, port, protocol and query string)
getContextURLPath() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the base path of proxyma from the request (without host, port, protocol and query string)
getCookie(String) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Returns the specified cookie.
getCookies() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns an array containing all of the Cookie objects the browser sent with this request.
getCookies() - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Returns a collection of all of the Cookie objects of the response.
getCookies() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns an array containing all of the Cookie objects the browser sent with this request.
getData() - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Get the raw binary data of the response
getDefaultEncoding() - Method in class m.c.m.proxyma.context.ProxymaContext
Get the default encoding charset used to encode/decode URLs and to parse html files.
getDestinationAsString() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard getter method for the destination as String
getDestinationAsURL() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard getter method for the destination as URL
getDestinationHost(URL) - Static method in class m.c.m.proxyma.rewrite.URLUtils
Translates the URL into a new URL countaining only the protocol,the host and the port.
getDestinationSubPath() - Method in class m.c.m.proxyma.resource.ProxymaResource
Returns the subpath relative to the destination of the proxy folder
getFileBuffer() - Method in class m.c.m.proxyma.buffers.SmartBuffer
Obtain the internal FileBuffer to read into it.
getFileFullPath() - Method in class m.c.m.proxyma.buffers.FileBuffer
Obtain the full path of the file with the data
getFolderName() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard getter method for the folderName
getHead(Handler) - Method in class m.c.m.proxyma.log.OnlyTheMessageFormatter
 
getHead(Handler) - Method in class m.c.m.proxyma.log.ProxymaFormatter
 
getHeader(String) - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the value of the specified request header as a String.
getHeader(String) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Returns the specified response http header.
getHeader(String) - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the value of the specified request header as a String.
getHeaderNames() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns an enumeration of all the header names this request contains.
getHeaderNames() - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Returns a Collection of all the header names of the response.
getHeaderNames() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns an enumeration of all the header names this request contains.
getHeaders(String) - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns all the values of the specified request header as an Enumeration of String objects.
getHeaders(String) - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns all the values of the specified request header as an Enumeration of String objects.
getHtmlDescription() - Method in interface m.c.m.proxyma.core.ResourceHandler
Returns a short description (html formatted) of the plugin.
getHtmlDescription() - Method in interface m.c.m.proxyma.plugins.caches.CacheProvider
Returns a short description (html formatted) of the cache.
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
Returns a short description of the cache provider formatted for html output.
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.caches.NullCacheProvider
Returns a short description of the cache provider formatted for html output.
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.preprocessors.AbstractPreprocessor
Implement this method to provide a short description of what the plugin does.. you can use html tags into it.
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.preprocessors.CookiesRewritePreprocessor
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.preprocessors.StoreTimestampPreprocessor
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.retrivers.AbstractRetriver
Implement this method to provide a short description of what the plugin does.. you can use html tags into it.
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.retrivers.SimpleHttpRetriver
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.retrivers.TestPageRetriver
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.serializers.AbstractSerializer
Implement this method to provide a short description of what the plugin does.. you can use html tags into it.
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.serializers.DebugSerializer
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.serializers.PerformanceTestSerializer
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.serializers.SimpleSerializer
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.transformers.AbstractTransformer
Implement this method to provide a short description of what the plugin does.. you can use html tags into it.
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.transformers.CharsetInspectorTransformer
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.transformers.CookiesRewriteTransformer
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.transformers.CssUrlRewriteTransformer
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.transformers.HtmlUrlRewriteTransformer
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.transformers.HttpRedirectsRewriteTransformer
Returns a short description of what the plugin does..
getHtmlDescription() - Method in class m.c.m.proxyma.plugins.transformers.JSRewriteTransformer
Returns a short description of what the plugin does..
getInputStream() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the input stream for read the request's data sent by the client
getInputStream() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the input stream for read the request's data sent by the client
getInstance() - Static method in class m.c.m.proxyma.context.ProxymaContextPool
Static method to call to obtain the singleton class that manages the contexts for all the proxyma instances in this virtual machine.
getLogger() - Method in class m.c.m.proxyma.context.ProxymaContext
Get the logger for this context instance.
getLogLevel() - Method in class m.c.m.proxyma.context.ProxymaContext
Standard getter method to obtain the current log level.
getLogsDirectoryPath() - Method in class m.c.m.proxyma.context.ProxymaContext
Returns the path of the logs directory for this context.
getMaxPostSize() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard getter method for the max POST size attribute
getMethod() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMethod() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMultivalueHeader(String) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
This method is done to get values from a multiple values header (like Cache-Control).
getMultiValueParameter(String) - Method in class m.c.m.proxyma.context.ProxymaContext
Get a list of values for a parameter from the configuration
getName() - Method in class m.c.m.proxyma.context.ProxymaContext
Get the name of this ccontext
getName() - Method in interface m.c.m.proxyma.core.ResourceHandler
Returns the name of the plugin (only a name that characterize the plugin, not the class name..) that will be used into the interfaces as plugin name.
getName() - Method in interface m.c.m.proxyma.plugins.caches.CacheProvider
Returns the name of the cache provider (only a name that characterize the plugin, not the class name..) that could be used into the interfaces as cache name.
getName() - Method in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
 
getName() - Method in class m.c.m.proxyma.plugins.caches.NullCacheProvider
 
getName() - Method in class m.c.m.proxyma.plugins.preprocessors.AbstractPreprocessor
Implement this method to return the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.preprocessors.CookiesRewritePreprocessor
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.preprocessors.StoreTimestampPreprocessor
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.retrivers.AbstractRetriver
Implement this method to return the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.retrivers.SimpleHttpRetriver
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.retrivers.TestPageRetriver
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.serializers.AbstractSerializer
Implement this method to return the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.serializers.DebugSerializer
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.serializers.PerformanceTestSerializer
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.serializers.SimpleSerializer
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.transformers.AbstractTransformer
Implement this method to return the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.transformers.CharsetInspectorTransformer
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.transformers.CookiesRewriteTransformer
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.transformers.CssUrlRewriteTransformer
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.transformers.HtmlUrlRewriteTransformer
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.transformers.HttpRedirectsRewriteTransformer
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.plugins.transformers.JSRewriteTransformer
Returns the name of the plugin.
getName() - Method in class m.c.m.proxyma.resource.ProxymaHttpHeader
Returns the name of the header.
getPage(int) - Method in class m.c.m.proxyma.buffers.RamBuffer
Get the specified page of data
getpageSize() - Method in class m.c.m.proxyma.buffers.RamBuffer
Obtain the current page size for this buffer
getParameter(String) - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the value of the asked parameter
getParameter(String) - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the value of the asked parameter
getParameterNames() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the names of the parameters into the request
getParameterNames() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the names of the parameters into the request
getPort(URL) - Static method in class m.c.m.proxyma.rewrite.URLUtils
Returns always the "real" port for the passed URL.
getPreprocessors() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Obtain a collection of preprocessor class names registered for the proxy folder
getProtocol() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
getProtocol() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
getProxyFolder() - Method in class m.c.m.proxyma.resource.ProxymaResource
Returns the proxy foder that matched the requested URI.
getProxyFolderByDestinationHost(String) - Method in class m.c.m.proxyma.context.ProxymaContext
Get a proxy folder by folder name (if exists)
getProxyFolderByURLEncodedName(String) - Method in class m.c.m.proxyma.context.ProxymaContext
Get a proxy folder by folder name (if exists)
getProxyFolderByURLEncodedName(String, ProxymaContext) - Method in class m.c.m.proxyma.ProxymaFacade
Get from the passed context an existing proxyFolder searching it by its URL encoded name
getProxyFoldersAsCollection() - Method in class m.c.m.proxyma.context.ProxymaContext
Get a collection of all the proxy folders into the context
getProxyFoldersCount() - Method in class m.c.m.proxyma.context.ProxymaContext
Returns the number of proxy folders handled by the context.
getProxymaContextBasePath() - Method in class m.c.m.proxyma.context.ProxymaContext
Get the contextPath for this context
getProxymaRootURL() - Method in class m.c.m.proxyma.resource.ProxymaResource
Returns the URI where proxyma is deployed
getProxymaRootURLAsString() - Method in class m.c.m.proxyma.resource.ProxymaResource
Returns the complete URI where proxyma is deployed
getProxymaVersion() - Method in class m.c.m.proxyma.context.ProxymaContext
Get the curren relese nubler of Proxyma-core library
getQueryString() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the query string that is contained in the request URL after the path.
getQueryString() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the query string that is contained in the request URL after the path.
getRamBuffer() - Method in class m.c.m.proxyma.buffers.SmartBuffer
Obtain the internal RamBuffer to read into it.
getRegisteredCachePlugins() - Method in class m.c.m.proxyma.core.ProxyEngine
Get a Collection of CacheProviders registered into the Engine.
getRegisteredContextNames() - Method in class m.c.m.proxyma.context.ProxymaContextPool
Returns the name of the registered contexts.
getRegisteredContextNames() - Method in class m.c.m.proxyma.ProxymaFacade
Returns an Enumeration of all the registered context names
getRegisteredPluginsByType(ProxymaTags.HandlerType) - Method in class m.c.m.proxyma.core.ProxyEngine
Get a collection of the registered plugins by type.
getRemoteAddress() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the Internet Protocol (IP) address of the client that sent the request.
getRemoteAddress() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the Internet Protocol (IP) address of the client that sent the request.
getRemoteHost() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the fully qualified name of the client that sent the request.
getRemoteHost() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the fully qualified name of the client that sent the request.
getRemoteUser() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the name of the user making this request, if the user has logged in using HTTP authentication.
getRemoteUser() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the name of the user making this request, if the user has logged in using HTTP authentication.
getRequest() - Method in class m.c.m.proxyma.resource.ProxymaResource
Returns the request generated from the factory method.
getRequestURI() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Get the absoute requested path (without protocol, host, port and query string)
getRequestURI() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Get the absoute requested path (without protocol, host, port and query string)
getResponse() - Method in class m.c.m.proxyma.resource.ProxymaResource
Returns the response generated from the factory method This the response that will be sent back to the client
getResponseData(ProxymaResource) - Method in interface m.c.m.proxyma.plugins.caches.CacheProvider
Method provided to search into the cache a responseData suitable for the passed resource.
getResponseData(ProxymaResource) - Method in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
This method searches into the cache subsystem using the URI and the QueryString of the request countained into the passed resource.
getResponseData(ProxymaResource) - Method in class m.c.m.proxyma.plugins.caches.NullCacheProvider
This method does nothing.
getResponseData() - Method in class m.c.m.proxyma.resource.ProxymaResponse
Returns the ResponseDataBEan that countains all the data of the response.
getRetriver() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard getter method to obtain the active resource retriver class name
getScheme() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the sheme used by the client to send the request.
getScheme() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the sheme used by the client to send the request.
getSerializer() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard getter method to obtain the active serializer class name
getServerName() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the host name of the server that received the request.
getServerName() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the host name of the server that received the request.
getServerPort() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the port number on which this request was received.
getServerPort() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the port number on which this request was received.
getSingleValueParameter(String) - Method in class m.c.m.proxyma.context.ProxymaContext
Get a single value paramenter from the configuration
getSize() - Method in interface m.c.m.proxyma.buffers.ByteBuffer
Returns the size (in bytes) of the data stored into the buffer.
getSize() - Method in interface m.c.m.proxyma.buffers.ByteBufferReader
Returns the size (in bytes) of the data stored into the buffer.
getSize() - Method in class m.c.m.proxyma.buffers.FileBuffer
Returns the size (in bytes) of the data into the buffer.
getSize() - Method in class m.c.m.proxyma.buffers.FileBufferReader
Returns the size (in bytes) of the data into the buffer.
getSize() - Method in class m.c.m.proxyma.buffers.RamBuffer
Returns the size (in bytes) of the data into the buffer.
getSize() - Method in class m.c.m.proxyma.buffers.RamBufferReader
Returns the size (in bytes) of the data into the buffer.
getSize() - Method in class m.c.m.proxyma.buffers.SmartBuffer
Returns the size (in bytes) of the data into the buffer.
getSize() - Method in class m.c.m.proxyma.buffers.SmartBufferReader
Returns the size (in bytes) of the data into the buffer.
getStatistics() - Method in interface m.c.m.proxyma.plugins.caches.CacheProvider
Some cache subsystems keeps track of the opeations and maintains an internal statistic chat can be queried.
getStatistics() - Method in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
This method does nothing.
getStatistics() - Method in class m.c.m.proxyma.plugins.caches.NullCacheProvider
This method does nothing.
getStatus() - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Get the current value of the status code of the response
getSubPath() - Method in interface m.c.m.proxyma.resource.ProxymaRequest
Returns the path of the request (without protocol, host, port, proxyma context and query string)
getSubPath() - Method in class m.c.m.proxyma.resource.ProxymaServletRequest
Returns the path of the request (without protocol, host, port, proxyma context and query string)
getTail(Handler) - Method in class m.c.m.proxyma.log.OnlyTheMessageFormatter
 
getTail(Handler) - Method in class m.c.m.proxyma.log.ProxymaFormatter
 
getTransformers() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Obtain a collection of transformers class names registered for the proxy folder
getType() - Method in interface m.c.m.proxyma.core.ResourceHandler
Return the the type of the Resource handler.
getType() - Method in class m.c.m.proxyma.plugins.preprocessors.AbstractPreprocessor
This method is required to declare the type of plugin that this class implements and it's final.
getType() - Method in class m.c.m.proxyma.plugins.retrivers.AbstractRetriver
This method is required to declare the type of plugin that this class implements and it's final.
getType() - Method in class m.c.m.proxyma.plugins.serializers.AbstractSerializer
This method is required to declare the type of plugin that this class implements and it's final.
getType() - Method in class m.c.m.proxyma.plugins.transformers.AbstractTransformer
This method is required to declare the type of plugin that this class implements and it's final.
getURLEncodedFolderName() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard getter method for the URL encoded version of the folderName
getValue() - Method in class m.c.m.proxyma.resource.ProxymaHttpHeader
Returns the value of the header
getWholeBufferAsByteArray() - Method in interface m.c.m.proxyma.buffers.ByteBufferReader
Returns the whole buffer into a byte array.
getWholeBufferAsByteArray() - Method in class m.c.m.proxyma.buffers.FileBufferReader
returns the whole file into a new byte array.
getWholeBufferAsByteArray() - Method in class m.c.m.proxyma.buffers.RamBufferReader
Returns the whole buffer into a byte array.
getWholeBufferAsByteArray() - Method in class m.c.m.proxyma.buffers.SmartBufferReader
Returns the whole buffer into a byte array.
GLOBAL_BUFFERS_IMPLEMENTATION - Static variable in class m.c.m.proxyma.ProxymaTags
 
GLOBAL_DEFAULT_ENCODING - Static variable in class m.c.m.proxyma.ProxymaTags
 
GLOBAL_LOGFILE_MAXSIZE - Static variable in class m.c.m.proxyma.ProxymaTags
 
GLOBAL_LOGFILES_RETENTION - Static variable in class m.c.m.proxyma.ProxymaTags
 
GLOBAL_LOGLEVEL - Static variable in class m.c.m.proxyma.ProxymaTags
 
GLOBAL_SHOW_FOLDERS_LIST - Static variable in class m.c.m.proxyma.ProxymaTags
 

H

hasBeenSent() - Method in class m.c.m.proxyma.resource.ProxymaResponse
Return the value of the already-sent flag.
HtmlUrlRewriteTransformer - Class in m.c.m.proxyma.plugins.transformers
This plugin implements an URL Rewriter.
HtmlUrlRewriteTransformer(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.transformers.HtmlUrlRewriteTransformer
The default constructor for this class
It prepares the context logger and the logger for the access-log.
HttpRedirectsRewriteTransformer - Class in m.c.m.proxyma.plugins.transformers
This Transformer processes the redirect responses.
HttpRedirectsRewriteTransformer(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.transformers.HttpRedirectsRewriteTransformer
The default constructor for this class
It prepares the context logger and the logger for the access-log.

I

initializeContextLogger(Logger, String, String, int, int) - Static method in class m.c.m.proxyma.log.ProxymaLoggersUtil
Initialize the logger to write on the passed file with the given log level.
initializeCustomLogger(Logger, String, int, int) - Static method in class m.c.m.proxyma.log.ProxymaLoggersUtil
Initialize the logger to write on the passed file with the given log level.
isEnabled() - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard getter method to know if the proxy folder is enabled
isEnableShowFoldersListOnRootURI() - Method in class m.c.m.proxyma.core.ProxyEngine
Get the new value for the flag
If true, proxyma will show the list of the registered folders if the client access to the root uri of the proxy.
isLocked() - Method in interface m.c.m.proxyma.buffers.ByteBuffer
check if the buffer is still writable
isLocked() - Method in class m.c.m.proxyma.buffers.FileBuffer
return false if the buffer is still appendable
isLocked() - Method in class m.c.m.proxyma.buffers.RamBuffer
return false if the buffer is still appendable
isLocked() - Method in class m.c.m.proxyma.buffers.SmartBuffer
return false if the buffer is still appendable
isMultipleHeader(String) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Checks whether the specified header has multiple values.

J

JSRewriteTransformer - Class in m.c.m.proxyma.plugins.transformers
This plugin implements a basic and not complete Javascript Rewriter.
JSRewriteTransformer(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.transformers.JSRewriteTransformer
The default constructor for this class
It prepares the context logger and the logger for the access-log.

L

LARGE_BINARY_DATA - Static variable in class m.c.m.proxyma.buffers.RamBuffer
 
lock() - Method in interface m.c.m.proxyma.buffers.ByteBuffer
Sets the buffer as ReadOnly.. no more data can be written into it.
lock() - Method in class m.c.m.proxyma.buffers.FileBuffer
Sets the buffer as ReadOnly an close the output stream on it..
lock() - Method in class m.c.m.proxyma.buffers.RamBuffer
Sets the buffer as ReadOnly.. no more data can be written into it.
lock() - Method in class m.c.m.proxyma.buffers.SmartBuffer
Sets the buffer as ReadOnly.. no more data can be written into it.

M

m.c.m.proxyma - package m.c.m.proxyma
 
m.c.m.proxyma.buffers - package m.c.m.proxyma.buffers
 
m.c.m.proxyma.context - package m.c.m.proxyma.context
 
m.c.m.proxyma.core - package m.c.m.proxyma.core
 
m.c.m.proxyma.log - package m.c.m.proxyma.log
 
m.c.m.proxyma.plugins.caches - package m.c.m.proxyma.plugins.caches
 
m.c.m.proxyma.plugins.preprocessors - package m.c.m.proxyma.plugins.preprocessors
 
m.c.m.proxyma.plugins.retrivers - package m.c.m.proxyma.plugins.retrivers
 
m.c.m.proxyma.plugins.serializers - package m.c.m.proxyma.plugins.serializers
 
m.c.m.proxyma.plugins.transformers - package m.c.m.proxyma.plugins.transformers
 
m.c.m.proxyma.resource - package m.c.m.proxyma.resource
 
m.c.m.proxyma.rewrite - package m.c.m.proxyma.rewrite
 
Main - Class in m.c.m.proxyma
This class print only a message on the standard output.
Main() - Constructor for class m.c.m.proxyma.Main
 
main(String[]) - Static method in class m.c.m.proxyma.Main
 
masqueradeCookie(Cookie, ProxymaResource) - Method in class m.c.m.proxyma.rewrite.CookieRewriteEngine
Masquerade to the client a cookie that comes froma a remote host by setting its domain to the domain of proxyma and the path to the path of the current proxy-folder.
masqueradeURL(String, ProxymaResource) - Method in class m.c.m.proxyma.rewrite.URLRewriteEngine
This method rewrites the passed url if it siteMatches the path of the specified proxy-folder.

N

NullCacheProvider - Class in m.c.m.proxyma.plugins.caches
This is a null implementation of the interface CacheProvider.
NullCacheProvider(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.caches.NullCacheProvider
The default constructor for all the plugins.

O

OnlyTheMessageFormatter - Class in m.c.m.proxyma.log
This custom formatter that "doesn't format" anything.
OnlyTheMessageFormatter() - Constructor for class m.c.m.proxyma.log.OnlyTheMessageFormatter
Initialize parent class.

P

PerformanceTestSerializer - Class in m.c.m.proxyma.plugins.serializers
This plugin extends the Simple Serializer adding to it an ulterior logger.
PerformanceTestSerializer(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.serializers.PerformanceTestSerializer
The default constructor for this class
It prepares the context logger and the logger for the access-log.
PRAGMA_NO_CACHE - Static variable in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
No cache value for the Pragma header
process(ProxymaResource) - Method in interface m.c.m.proxyma.core.ResourceHandler
Implements the business logic of the plugin.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.preprocessors.AbstractPreprocessor
This is the method to implement to realize a preprocessor
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.preprocessors.CookiesRewritePreprocessor
This adds a resource attribute to the current resource in order to memorize the instant when the new request has come to the server.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.preprocessors.StoreTimestampPreprocessor
This adds a resource attribute to the current resource in order to memorize the instant when the new request has come to the server.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.retrivers.AbstractRetriver
This is the method to implement to realize the retriver logic.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.retrivers.SimpleHttpRetriver
This method register the time when it runs into a resource attribute.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.retrivers.TestPageRetriver
This method creates a test page to sent back to the client.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.serializers.AbstractSerializer
This is the method to implement to realize the serializer logic.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.serializers.DebugSerializer
This method sends back to the client the response-data of the resource adding to it only some useful headers.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.serializers.PerformanceTestSerializer
This method uses its base class to send back to the client the response-data of the resource.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.serializers.SimpleSerializer
This method sends back to the client the response-data of the resource adding to it only some useful headers.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.transformers.AbstractTransformer
This is the method to implement to realize the transformer logic.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.transformers.CharsetInspectorTransformer
If the encoding charset is not passed into the content-type header, It scans the HTML page searching for it.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.transformers.CookiesRewriteTransformer
It scans the HTML page contained into the response searching for any URL.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.transformers.CssUrlRewriteTransformer
It scans the HTML page or the CSS file contained into the response searching for any Stylesheet URL.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.transformers.HtmlUrlRewriteTransformer
It scans the HTML page contained into the response searching for any URL.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.transformers.HttpRedirectsRewriteTransformer
It scans the HTML page contained into the response searching for any URL.
process(ProxymaResource) - Method in class m.c.m.proxyma.plugins.transformers.JSRewriteTransformer
It scans the HTML page or the JS file contained into the response searching for any URL.
ProxyEngine - Class in m.c.m.proxyma.core
This class is the main skeleton of this whole project and is a mixture of many design patterns.
ProxyEngine(ProxymaContext) - Constructor for class m.c.m.proxyma.core.ProxyEngine
The constructor for this class.
ProxyEngineFactory - Class in m.c.m.proxyma.core
This class is the factory method of the Proxy Engine NOTE: this software is released under GPL License.
ProxyEngineFactory() - Constructor for class m.c.m.proxyma.core.ProxyEngineFactory
 
ProxyFolderBean - Class in m.c.m.proxyma.context
This class is the bean that represents a remote destination for the reverse proxy engine.
ProxyFolderBean(String, String, ProxymaContext) - Constructor for class m.c.m.proxyma.context.ProxyFolderBean
Default constructor for this class it builds a destinationAsString.
ProxyFolderFactory - Class in m.c.m.proxyma.context
This class is a "FactoryMethod" for the ProxyFolderBean Class.
ProxyFolderFactory() - Constructor for class m.c.m.proxyma.context.ProxyFolderFactory
 
ProxyInternalResponsesFactory - Class in m.c.m.proxyma.core
This Class its a factory of standard responses.
ProxyInternalResponsesFactory() - Constructor for class m.c.m.proxyma.core.ProxyInternalResponsesFactory
 
PROXYMA_REWRITTEN_HEADER - Static variable in class m.c.m.proxyma.rewrite.CookieRewriteEngine
The header added to the rewritten cookies that can be recognized by the preprocessor to restore the original values.
ProxymaContext - Class in m.c.m.proxyma.context
This class is the main context for an instance of Proxyma.
ProxymaContext(String, String, String, String) - Constructor for class m.c.m.proxyma.context.ProxymaContext
Default constructor for this Class
ProxymaContextPool - Class in m.c.m.proxyma.context
This is Singleton class that stores an hashtable of ProxyContexts.
ProxymaContextPool() - Constructor for class m.c.m.proxyma.context.ProxymaContextPool
Constructor for this class
ProxymaFacade - Class in m.c.m.proxyma
This class is the main interface (Facade) to intercact with Proxyma.
ProxymaFacade() - Constructor for class m.c.m.proxyma.ProxymaFacade
the default constructor for this class.
ProxymaFormatter - Class in m.c.m.proxyma.log
This custom formatter introduce startup and shutdoen messages to the standard simple formatter.
ProxymaFormatter() - Constructor for class m.c.m.proxyma.log.ProxymaFormatter
Initialize parent class.
ProxymaHttpHeader - Class in m.c.m.proxyma.resource
This class rappresents a single Http Header that can be sent to a Client.
ProxymaHttpHeader(String, String) - Constructor for class m.c.m.proxyma.resource.ProxymaHttpHeader
The default constructor for this class.
ProxymaLoggersUtil - Class in m.c.m.proxyma.log
This class handles the setup and the changes od log level of the proxyma default logger.
ProxymaLoggersUtil() - Constructor for class m.c.m.proxyma.log.ProxymaLoggersUtil
 
ProxymaRequest - Interface in m.c.m.proxyma.resource
This the "Adapter" interface that will be used by Proxyma to manage client requests.
ProxymaResource - Class in m.c.m.proxyma.resource
This class rappresents a resource managed by the proxy.
ProxymaResource(ProxymaRequest, ProxymaResponse, ProxymaContext) - Constructor for class m.c.m.proxyma.resource.ProxymaResource
Default constructor for this class
ProxymaResourceFactory - Class in m.c.m.proxyma.resource
This the "FactoryMethod" to build the new instances of proxyma resources.
ProxymaResourceFactory() - Constructor for class m.c.m.proxyma.resource.ProxymaResourceFactory
 
ProxymaResponse - Class in m.c.m.proxyma.resource
This is the "Adapter" abstract class that will be used by Proxyma to manage client responses.
ProxymaResponse() - Constructor for class m.c.m.proxyma.resource.ProxymaResponse
 
ProxymaResponseDataBean - Class in m.c.m.proxyma.resource
This class rappresents all the data that can be sent to a Client as Response.
ProxymaResponseDataBean() - Constructor for class m.c.m.proxyma.resource.ProxymaResponseDataBean
 
ProxymaServletRequest - Class in m.c.m.proxyma.resource
This class implements a requests wrapper.
ProxymaServletRequest(HttpServletRequest, ProxymaContext) - Constructor for class m.c.m.proxyma.resource.ProxymaServletRequest
Default constructor for this class.
ProxymaServletResponse - Class in m.c.m.proxyma.resource
This class implements a response wrapper.
ProxymaServletResponse(HttpServletResponse, ProxymaContext) - Constructor for class m.c.m.proxyma.resource.ProxymaServletResponse
Default constructor for this class.
ProxymaTags - Class in m.c.m.proxyma
This class is only a constants aggregator NOTE: this software is released under GPL License.
ProxymaTags() - Constructor for class m.c.m.proxyma.ProxymaTags
 
ProxymaTags.HandlerType - Enum in m.c.m.proxyma
 
ProxymaTags.LogLevels - Enum in m.c.m.proxyma
 

R

RamBuffer - Class in m.c.m.proxyma.buffers
This class is a custom buffer to read and write byte data into RAM
RamBuffer(int) - Constructor for class m.c.m.proxyma.buffers.RamBuffer
This constructor builds a new RamBuffer setting the pagesize to the passed valut and initializes all internal attributes.
RamBufferReader - Class in m.c.m.proxyma.buffers
This class is a custom buffer to read and write byte data into RAM
RamBufferReader(RamBuffer) - Constructor for class m.c.m.proxyma.buffers.RamBufferReader
This constructor builds a new Reader based upon the passed RamBuffer.
readByte() - Method in interface m.c.m.proxyma.buffers.ByteBufferReader
Read a single byte of data from the buffer
readByte() - Method in class m.c.m.proxyma.buffers.FileBufferReader
Read a single byte of data from the buffer
readByte() - Method in class m.c.m.proxyma.buffers.RamBufferReader
Read a single byte of data from the buffer
readByte() - Method in class m.c.m.proxyma.buffers.SmartBufferReader
Read a single byte of data from the buffer
readBytes(byte[], int) - Method in interface m.c.m.proxyma.buffers.ByteBufferReader
Reads the requested amount of data from the buffer and stores them into the provided byte array.
readBytes(byte[], int) - Method in class m.c.m.proxyma.buffers.FileBufferReader
Reads data from the file and stores them into the provided byte array.
readBytes(byte[], int) - Method in class m.c.m.proxyma.buffers.RamBufferReader
Reads data from the buffer and stores them into the provided byte array.
readBytes(byte[], int) - Method in class m.c.m.proxyma.buffers.SmartBufferReader
Reads data from the buffer and stores them into the provided byte array.
registerNewContext(String, String, String, String) - Method in class m.c.m.proxyma.context.ProxymaContextPool
Creates and register a new context into the pool.
registerPreprocessor(String) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Register a new preprocessor class name for this folder.
registerTransformer(String) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Register a new transformer class name for this folder.
removeProxyFolder(ProxyFolderBean) - Method in class m.c.m.proxyma.context.ProxymaContext
Remove a ProxyFolder from the context
removeProxyFolder(ProxyFolderBean, ProxymaContext) - Method in class m.c.m.proxyma.ProxymaFacade
Remove from the passed context an existing proxyFolder
reset() - Method in interface m.c.m.proxyma.buffers.ByteBufferReader
Reset the Reader and rewinds it to the begin.
reset() - Method in class m.c.m.proxyma.buffers.FileBufferReader
Resets the Reader, next read operation will start fom the begin of the buffer.
reset() - Method in class m.c.m.proxyma.buffers.RamBufferReader
Resets the Reader, next read operation will start fom the begin of the buffer.
reset() - Method in class m.c.m.proxyma.buffers.SmartBufferReader
Resets the Reader, next read operation will start fom the begin of the buffer.
ResourceHandler - Interface in m.c.m.proxyma.core
This is the interface to implement Preprocessors, Transformers, Serializers and Retrivers.

S

sendDataToClient() - Method in class m.c.m.proxyma.resource.ProxymaResponse
Serializes and sends the data of the response to the client.
sendDataToClient() - Method in class m.c.m.proxyma.resource.ProxymaServletResponse
This method uses the wrapped HttpServletResponse to send the whole response data (headers, status, cookies and binary data) to the Client.
sendingData() - Method in class m.c.m.proxyma.resource.ProxymaResponse
Sets the value of the already-sent flag to "true"
This method should be used by any implementation of "sendDataToClient" to declare the response as sent.
setAvailableCacheProviders(HashMap<String, CacheProvider>) - Method in class m.c.m.proxyma.core.ProxyEngine
Protected method to set the available cache providers.
setAvailablePreprocessors(HashMap<String, ResourceHandler>) - Method in class m.c.m.proxyma.core.ProxyEngine
Protected method to set the available preprocessor plugins.
setAvailableRetrivers(HashMap<String, ResourceHandler>) - Method in class m.c.m.proxyma.core.ProxyEngine
Protected method to set the available retriver plugins.
setAvailableSerializers(HashMap<String, ResourceHandler>) - Method in class m.c.m.proxyma.core.ProxyEngine
Protected method to set the available serializer plugins.
setAvailableTransformers(HashMap<String, ResourceHandler>) - Method in class m.c.m.proxyma.core.ProxyEngine
Protected method to set the available transformer plugins.
setCacheProvider(String) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard setter method to set the class name of the current active cache provider.
setData(ByteBuffer) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Set the raw binary data of the response
setDestination(String) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard setter method for destinationAsString
setDestinationSubPath(String) - Method in class m.c.m.proxyma.resource.ProxymaResource
Sets the subpath relative to the destination of the proxy folder
setEnabled(boolean) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard setter method to set the status of the proxy folder
setEnableShowFoldersListOnRootURI(boolean) - Method in class m.c.m.proxyma.core.ProxyEngine
Sets the new value for the flag.
setFolderName(String) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard setter method for folderName.
setLogLevel(String) - Method in class m.c.m.proxyma.context.ProxymaContext
Standard setter method to set the new log level to use at run time.
setMaxPostSize(int) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard setter method for the max POST size attribute
setProxyFolder(ProxyFolderBean) - Method in class m.c.m.proxyma.resource.ProxymaResource
Set the proxy foder that matched the requested URI.
setProxymaRootURI(String) - Method in class m.c.m.proxyma.resource.ProxymaResource
Sets the complete URI where proxyma is deployed
setResponseData(ProxymaResponseDataBean) - Method in class m.c.m.proxyma.resource.ProxymaResponse
Set the new ResponseDataBean overwriting any previous value.
setRetriver(String) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard setter method to set the class name of the current resurce retriver.
setSerializer(String) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Standard setter method to set the class name of the current serializer.
setStatus(int) - Method in class m.c.m.proxyma.resource.ProxymaResponseDataBean
Sets the status code for this response.
setValue(String) - Method in class m.c.m.proxyma.resource.ProxymaHttpHeader
Sets a new value for the header.
SimpleHttpRetriver - Class in m.c.m.proxyma.plugins.retrivers
This plugin uses an URLConnection to retrive the remoteData form the real server and build a ResponseResourceDataBean that can be managed by transformers and serializers for further elaborations.
SimpleHttpRetriver(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.retrivers.SimpleHttpRetriver
The default constructor for this class
It prepares the context logger.
SimpleSerializer - Class in m.c.m.proxyma.plugins.serializers
This plugin implements a simple serializer.
SimpleSerializer(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.serializers.SimpleSerializer
The default constructor for this class
It prepares the context logger and the logger for the access-log.
SMALL_BINARY_DATA - Static variable in class m.c.m.proxyma.buffers.RamBuffer
 
SmartBuffer - Class in m.c.m.proxyma.buffers
This class implements a generalyzed Buffer that can be used to store large and small binary data.
SmartBuffer() - Constructor for class m.c.m.proxyma.buffers.SmartBuffer
Create a smart buffer that can countain into RAM a maximum of 256Kb of data.
SmartBuffer(int) - Constructor for class m.c.m.proxyma.buffers.SmartBuffer
Create a smart buffer that can countain into RAM a specific amount of data.
SmartBufferReader - Class in m.c.m.proxyma.buffers
This class implements a Reader Class for the SmartBuffer.
SmartBufferReader(SmartBuffer) - Constructor for class m.c.m.proxyma.buffers.SmartBufferReader
This constructor builds a new Reader based upon the passed SmartBuffer.
SRC - Static variable in class m.c.m.proxyma.plugins.transformers.JSRewriteTransformer
 
storeResponseDataIfCacheable(ProxymaResource) - Method in interface m.c.m.proxyma.plugins.caches.CacheProvider
Method provided to check if the resource is cacheable and store it into the cache subsystem.
storeResponseDataIfCacheable(ProxymaResource) - Method in class m.c.m.proxyma.plugins.caches.EhcacheCacheProvider
This method stores the data of a response into the cache subsystem using as key the request URI and the QueryString.
storeResponseDataIfCacheable(ProxymaResource) - Method in class m.c.m.proxyma.plugins.caches.NullCacheProvider
This method does nothing.
StoreTimestampPreprocessor - Class in m.c.m.proxyma.plugins.preprocessors
This preprocessor realize a component that registers into a resource attribute the time when the request has come to the server.
StoreTimestampPreprocessor(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.preprocessors.StoreTimestampPreprocessor
The default constructor for this class
It prepares the context logger and the logger for the access-log.

T

TestPageRetriver - Class in m.c.m.proxyma.plugins.retrivers
This retriver simply generates a test page.
TestPageRetriver(ProxymaContext) - Constructor for class m.c.m.proxyma.plugins.retrivers.TestPageRetriver
The default constructor for this class
It prepares the context logger.
TEXT_DATA - Static variable in class m.c.m.proxyma.buffers.RamBuffer
 
toString() - Method in class m.c.m.proxyma.resource.ProxymaHttpHeader
This overrides the Object's toString method.
TRANSFER_ENCODING_HEADER - Static variable in class m.c.m.proxyma.plugins.retrivers.SimpleHttpRetriver
The standard Trensfer Encodign Header

U

unmasqueradeCookie(Cookie) - Method in class m.c.m.proxyma.rewrite.CookieRewriteEngine
Rebuilds the original cookie from a masqueraded one.
unregisterContext(ProxymaContext) - Method in class m.c.m.proxyma.context.ProxymaContextPool
Unregister an existing and empty context from the pool NOTE: This method requires that the context is empty.
unregisterPreprocessor(String) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Unregister a preprocessor class name for this folder.
unregisterTransformer(String) - Method in class m.c.m.proxyma.context.ProxyFolderBean
Unregister a transformer class name for this folder.
UNSPECIFIED_CACHEPROVIDER - Static variable in class m.c.m.proxyma.ProxymaTags
 
UNSPECIFIED_LOGLEVEL - Static variable in class m.c.m.proxyma.ProxymaTags
 
UNSPECIFIED_POST_SIZE - Static variable in class m.c.m.proxyma.ProxymaTags
 
UNSPECIFIED_RETRIVER - Static variable in class m.c.m.proxyma.ProxymaTags
 
UNSPECIFIED_SERIALIZER - Static variable in class m.c.m.proxyma.ProxymaTags
 
updateFolderDestinationIndex(URL, ProxyFolderBean) - Method in class m.c.m.proxyma.context.ProxymaContext
Updates Context Destination Indexes.
updateFolderURLEncodedIndex(String, ProxyFolderBean) - Method in class m.c.m.proxyma.context.ProxymaContext
Updates Context URLEncoded Indexes.
updateLogLevel(Logger, String) - Static method in class m.c.m.proxyma.log.ProxymaLoggersUtil
Changes the log level of the context logger.
URLRewriteEngine - Class in m.c.m.proxyma.rewrite
This Class implements the logic od the URL rewriter engine.
URLRewriteEngine(ProxymaContext) - Constructor for class m.c.m.proxyma.rewrite.URLRewriteEngine
 
URLUtils - Class in m.c.m.proxyma.rewrite
This class is a collection some useful function for the URL management NOTE: this software is released under GPL License.
URLUtils() - Constructor for class m.c.m.proxyma.rewrite.URLUtils
 

V

valueOf(String) - Static method in enum m.c.m.proxyma.ProxymaTags.HandlerType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum m.c.m.proxyma.ProxymaTags.LogLevels
Returns the enum constant of this type with the specified name.
values() - Static method in enum m.c.m.proxyma.ProxymaTags.HandlerType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum m.c.m.proxyma.ProxymaTags.LogLevels
Returns an array containing the constants of this enum type, in the order they are declared.

A B C D E F G H I J L M N O P R S T U V

Copyright © 2010. All Rights Reserved.