A C D F G H I M N P R S 

A

addAddress(String) - Method in class net.jr.fastcgi.impl.PoolFactory
 
addAdresses(Iterable<String>) - Method in class net.jr.fastcgi.impl.PoolFactory
 
addHeader(String, String) - Method in class net.jr.fastcgi.impl.PortletResponseAdapter
 
addHeader(String, String) - Method in interface net.jr.fastcgi.impl.ResponseAdapter
 
addHeader(String, String) - Method in class net.jr.fastcgi.impl.ServletResponseAdapter
 
afterPropertiesSet() - Method in class net.jr.fastcgi.spring.RequestHandler
 
arrayToString(String, T...) - Static method in class net.jr.utils.StringUtil
 

C

collectionToString(String, Collection<?>) - Static method in class net.jr.utils.StringUtil
 
ConnectionFactory - Interface in net.jr.fastcgi
interface that any service that can create / destroy connections to a fastcgi provider should implement.
create(Map<String, String>) - Static method in class net.jr.fastcgi.impl.FastCGIHandlerFactory
 

D

destroy() - Method in class net.jr.fastcgi.FastCGIPortlet
 
destroy() - Method in class net.jr.fastcgi.FastCGIServlet
 
destroy() - Method in class net.jr.fastcgi.impl.FastCGIHandler
 
destroy() - Method in class net.jr.fastcgi.spring.RequestHandler
 

F

FastCGIHandler - Class in net.jr.fastcgi.impl
handling of the fastCGI protocol.
FastCGIHandler() - Constructor for class net.jr.fastcgi.impl.FastCGIHandler
 
FastCGIHandlerFactory - Class in net.jr.fastcgi.impl
This class helps instanciating FastCGIHandlers using a properties-based configuration.
FastCGIHandlerFactory() - Constructor for class net.jr.fastcgi.impl.FastCGIHandlerFactory
 
FastCGIPortlet - Class in net.jr.fastcgi
Porlet version is quite experimental, but functionnal.
FastCGIPortlet() - Constructor for class net.jr.fastcgi.FastCGIPortlet
 
FastCGIServlet - Class in net.jr.fastcgi
 
FastCGIServlet() - Constructor for class net.jr.fastcgi.FastCGIServlet
 
finalize() - Method in class net.jr.fastcgi.impl.FastCGIHandler
 

G

getAuthType() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getAuthType() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getAuthType() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getConnection() - Method in interface net.jr.fastcgi.ConnectionFactory
Called when a connection is needed.
getConnection() - Method in class net.jr.fastcgi.impl.PooledConnectionFactory
get e connection from the pool.
getConnection() - Method in class net.jr.fastcgi.impl.SingleConnectionFactory
 
getConnectionFactory() - Method in class net.jr.fastcgi.impl.FastCGIHandler
 
getConnectionFactory() - Method in class net.jr.fastcgi.spring.RequestHandler
 
getContentLength() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getContentLength() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getContentLength() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getContextPath() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getContextPath() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getContextPath() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getFastCGIHandler() - Method in class net.jr.fastcgi.spring.RequestHandler
 
getHandler() - Method in class net.jr.fastcgi.FastCGIServlet
 
getHeader(String) - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getHeader(String) - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getHeader(String) - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getHeaderNames() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getHeaderNames() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getHeaderNames() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getHttpServletRequest() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getInputStream() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getInputStream() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getInputStream() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getMethod() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getMethod() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getMethod() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getOutputStream() - Method in class net.jr.fastcgi.impl.PortletResponseAdapter
 
getOutputStream() - Method in interface net.jr.fastcgi.impl.ResponseAdapter
 
getOutputStream() - Method in class net.jr.fastcgi.impl.ServletResponseAdapter
 
getPool() - Method in class net.jr.fastcgi.impl.PooledConnectionFactory
 
getProcess() - Method in class net.jr.fastcgi.impl.FastCGIHandler
 
getProcessLogThread() - Method in class net.jr.fastcgi.impl.FastCGIHandler
 
getProtocol() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getProtocol() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getProtocol() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getQueryString() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getQueryString() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getQueryString() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getRealPath(String) - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getRealPath(String) - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getRealPath(String) - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getRemoteAddr() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getRemoteAddr() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getRemoteAddr() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getRemoteUser() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getRemoteUser() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getRemoteUser() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getRequestURI() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getRequestURI() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getRequestURI() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getServerName() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getServerName() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getServerName() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getServerPort() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getServerPort() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getServerPort() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
getServletPath() - Method in class net.jr.fastcgi.impl.PortletRequestAdapter
 
getServletPath() - Method in interface net.jr.fastcgi.impl.RequestAdapter
 
getServletPath() - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 

H

handleRequest(HttpServletRequest, HttpServletResponse) - Method in class net.jr.fastcgi.spring.RequestHandler
 

I

init(PortletConfig) - Method in class net.jr.fastcgi.FastCGIPortlet
 
init(ServletConfig) - Method in class net.jr.fastcgi.FastCGIServlet
 
isHeaderFiltered(String) - Method in class net.jr.fastcgi.impl.FastCGIHandler
 
isKeepAlive() - Method in class net.jr.fastcgi.impl.FastCGIHandler
 

M

makeObject() - Method in class net.jr.fastcgi.impl.PoolFactory
builds a new socket using one of the descriptors.

N

net.jr.fastcgi - package net.jr.fastcgi
 
net.jr.fastcgi.impl - package net.jr.fastcgi.impl
 
net.jr.fastcgi.spring - package net.jr.fastcgi.spring
 
net.jr.utils - package net.jr.utils
 
net.jr.utils.logging - package net.jr.utils.logging
 

P

PARAM_CLUSTER_ADRESSES - Static variable in class net.jr.fastcgi.impl.FastCGIHandlerFactory
comma-separated list of adresses when using seveal fastcgi endpoints.
PARAM_CONNECTION_FACTORY - Static variable in class net.jr.fastcgi.impl.FastCGIHandlerFactory
user-provided class that will provide tcp connections.
PARAM_FILTERED_HEADERS - Static variable in class net.jr.fastcgi.impl.FastCGIHandlerFactory
comma-separated list of http headers that will be filtered (i.e not transmitted to the fastcgi responder) The list is case insensitive.
PARAM_NAMES - Static variable in class net.jr.fastcgi.impl.FastCGIHandlerFactory
 
PARAM_SERVER_ADDRESS - Static variable in class net.jr.fastcgi.impl.FastCGIHandlerFactory
Address of the fastcgi provider service to use.
PARAM_START_EXECUTABLE - Static variable in class net.jr.fastcgi.impl.FastCGIHandlerFactory
executable that should be launched as the servlet starts.
PooledConnectionFactory - Class in net.jr.fastcgi.impl
A connection factory that handles multiple connections, using an underlying connection pool provided by commons-pool.
PooledConnectionFactory(PoolableObjectFactory) - Constructor for class net.jr.fastcgi.impl.PooledConnectionFactory
 
PoolFactory - Class in net.jr.fastcgi.impl
Implements PoolableObjectFactory so it creates tcp connections on demand using pool configuration.
PoolFactory() - Constructor for class net.jr.fastcgi.impl.PoolFactory
 
PortletRequestAdapter - Class in net.jr.fastcgi.impl
 
PortletRequestAdapter(PortletRequest) - Constructor for class net.jr.fastcgi.impl.PortletRequestAdapter
 
PortletResponseAdapter - Class in net.jr.fastcgi.impl
 
PortletResponseAdapter(RenderResponse) - Constructor for class net.jr.fastcgi.impl.PortletResponseAdapter
 

R

releaseConnection(Socket) - Method in interface net.jr.fastcgi.ConnectionFactory
Called when a connection is released (not needed anymore) Note : it doesn't mean that the socket should be closed at all, but notifies that this connection is no more needed for a particular request.
releaseConnection(Socket) - Method in class net.jr.fastcgi.impl.PooledConnectionFactory
returns a connection to the pool.
releaseConnection(Socket) - Method in class net.jr.fastcgi.impl.SingleConnectionFactory
 
render(RenderRequest, RenderResponse) - Method in class net.jr.fastcgi.FastCGIPortlet
 
RequestAdapter - Interface in net.jr.fastcgi.impl
part of the portlet / servlet request interface used by FastCGIHandler.
RequestHandler - Class in net.jr.fastcgi.spring
Sample configuration : web.xml <servlet> <servlet-name>jfastcgi</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>jfastcgi</servlet-name> <url-pattern>*.php</url-pattern> </servlet-mapping> Spring xml configuration <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> <property name="mappings"> <value> /&#42;/&#42;.php=fastCGIRequestHandler </value> </property> </bean> <bean id="fastCGIRequestHandler" class="net.jr.fastcgi.spring.RequestHandler"> <property name="connectionFactory" ref="connectionFactory" /> </bean> <bean id="connectionFactory" class="net.jr.fastcgi.impl.SingleConnectionFactory"> <constructor-arg value="localhost:9763"/> </bean>
RequestHandler() - Constructor for class net.jr.fastcgi.spring.RequestHandler
 
ResponseAdapter - Interface in net.jr.fastcgi.impl
/ part of the portlet / servlet response interface used by FastCGIHandler.
run() - Method in class net.jr.utils.logging.StreamLogger
 

S

sendError(int) - Method in class net.jr.fastcgi.impl.PortletResponseAdapter
 
sendError(int) - Method in interface net.jr.fastcgi.impl.ResponseAdapter
 
sendError(int) - Method in class net.jr.fastcgi.impl.ServletResponseAdapter
 
sendRedirect(String) - Method in class net.jr.fastcgi.impl.PortletResponseAdapter
 
sendRedirect(String) - Method in interface net.jr.fastcgi.impl.ResponseAdapter
 
sendRedirect(String) - Method in class net.jr.fastcgi.impl.ServletResponseAdapter
 
service(HttpServletRequest, HttpServletResponse) - Method in class net.jr.fastcgi.FastCGIServlet
 
service(RequestAdapter, ResponseAdapter) - Method in class net.jr.fastcgi.impl.FastCGIHandler
 
ServletRequestAdapter - Class in net.jr.fastcgi.impl
Implementation used for plain servlets.
ServletRequestAdapter(ServletContext, HttpServletRequest) - Constructor for class net.jr.fastcgi.impl.ServletRequestAdapter
 
ServletResponseAdapter - Class in net.jr.fastcgi.impl
Implementation used for plain servlets.
ServletResponseAdapter(HttpServletResponse) - Constructor for class net.jr.fastcgi.impl.ServletResponseAdapter
 
setAddress(String) - Method in class net.jr.fastcgi.impl.PoolFactory
may simplify future spring integration...
setAddresses(Iterable<String>) - Method in class net.jr.fastcgi.impl.PoolFactory
may simplify future spring integration...
setConnectionFactory(ConnectionFactory) - Method in class net.jr.fastcgi.impl.FastCGIHandler
 
setConnectionFactory(ConnectionFactory) - Method in class net.jr.fastcgi.spring.RequestHandler
 
setFastCGIHandler(FastCGIHandler) - Method in class net.jr.fastcgi.spring.RequestHandler
 
setFilteredHeaders(String[]) - Method in class net.jr.fastcgi.impl.FastCGIHandler
Some http headers have sometimes to be filtered for security reasons, so this methods allows to tell which http headers we do not want to pass to the fastcgi app.
setHandler(FastCGIHandler) - Method in class net.jr.fastcgi.FastCGIServlet
 
setHttpServletRequest(HttpServletRequest) - Method in class net.jr.fastcgi.impl.ServletRequestAdapter
 
setKeepAlive(boolean) - Method in class net.jr.fastcgi.impl.FastCGIHandler
 
setPool(ObjectPool) - Method in class net.jr.fastcgi.impl.PooledConnectionFactory
 
setServletContext(ServletContext) - Method in class net.jr.fastcgi.spring.RequestHandler
 
setStatus(int) - Method in class net.jr.fastcgi.impl.PortletResponseAdapter
 
setStatus(int) - Method in interface net.jr.fastcgi.impl.ResponseAdapter
 
setStatus(int) - Method in class net.jr.fastcgi.impl.ServletResponseAdapter
 
SingleConnectionFactory - Class in net.jr.fastcgi.impl
A connection factory that always tries to connect to the same ip/port.
SingleConnectionFactory(InetSocketAddress) - Constructor for class net.jr.fastcgi.impl.SingleConnectionFactory
 
SingleConnectionFactory(InetAddress, int) - Constructor for class net.jr.fastcgi.impl.SingleConnectionFactory
 
SingleConnectionFactory(String) - Constructor for class net.jr.fastcgi.impl.SingleConnectionFactory
 
startProcess(String) - Method in class net.jr.fastcgi.impl.FastCGIHandler
 
StreamLogger - Class in net.jr.utils.logging
reads a stream indefinitely, and put a line of log in the specified logger each time an EOF is seen.
StreamLogger(InputStream, Logger) - Constructor for class net.jr.utils.logging.StreamLogger
 
StringUtil - Class in net.jr.utils
String-related utility methods.
StringUtil() - Constructor for class net.jr.utils.StringUtil
 
A C D F G H I M N P R S 

Copyright © 2009-2012 Julien Rialland, and the jFastCGI project developpers.. All Rights Reserved.