[jboss-as7-dev] WebConnectorService setSendfileSize
Scott Stark
sstark at redhat.com
Sat Sep 3 03:47:16 EDT 2011
I was looking at some of the properties in the
org.jboss.as.web.WebConnectorService and how they relate
to the jboss-as-web.xsd, and came across this block of code that seems
incorrect as it does not make sense to relate the setSendfileSize to the
maxConnections:
try {
Method m =
connector.getProtocolHandler().getClass().getMethod("setSendfileSize",
Integer.TYPE);
m.invoke(connector.getProtocolHandler(),
maxConnections);
} catch (NoSuchMethodException e) {
// Not all connectors will have this
}
Is there supposed to be another property exposed for this?
More information about the jboss-as7-dev
mailing list