- 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>
/*/*.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
-