[jboss-as7-dev] WebConnectorService setSendfileSize

Brian Stansberry brian.stansberry at redhat.com
Mon Oct 3 22:33:30 EDT 2011


Did you ever get an answer to this?

On 9/3/11 2:47 AM, Scott Stark wrote:
> 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?
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list