An example is needed, here you go.

https://gist.github.com/joakime/d6223a05b92f41c7cc80

SelectChannelConnector.
 setForwarded
   now done via HttpConfiguration Customizers
   ForwardRequestCustomizer - (lines #43-45)

http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/server/ForwardedRequestCustomizer.html

 setLowResourcesMaxIdleTime
 setLowResourcesConnections
   Low Resource management is now a server level bean, monitoring and
handling all connectors equally.
   LowResourceMonitor - (lines #95-99)

http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/server/LowResourceMonitor.html

 setAcceptorPriorityOffset
   Not present in Jetty 9

 getConnectionRequestsMean
 getConnectionsRequestsStdDev
   Now part of the ConnectorStatistics bean - (lines #92-93 & lines
#112-122)


Good Luck,

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Tue, Jun 10, 2014 at 4:36 PM, Manoj Khangaonkar <
[email protected]> wrote:

>  Hi
>
>  I am porting an embedded jetty8 app to embedded jetty9. I was not able
> to find equivalent methods /classes for the following methods of the jetty8
> class SelectChannelConnector.
>
>  setForwarded
> setLowResourcesMaxIdleTime
> setLowResourcesConnections
> setAcceptorPriorityOffset
> getConnectionRequestsMean
> getConnectionsRequestsStdDev
>
>  If anyone can point me to the class/interface in jetty9 where these can
> be found or if there is a statement that some of these are deprecated or
> removed , that would help.
>
>  If there any good resources for porting older embedded jetty apps to
> jetty9, I would appreciate if you can point me to them.
>
>  Regards
>
>  MJ
> This e-mail and any attached files are intended solely for the use of the
> individual or entity to which this mail is addressed and may contain
> information that is privileged, confidential and exempt from disclosure
> under applicable law. Any use, disclosure, copying or distribution of this
> e-mail or the attached files by anyone other than the intended recipient is
> strictly prohibited. If you have received this e-mail in error, please
> notify the sender by reply e-mail or collect call to (650) 388-4111 and
> delete this e-mail and attached files from your system. Thank you.
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to