Thanks

regards

From: Joakim Erdfelt <[email protected]<mailto:[email protected]>>
Reply-To: JETTY user mailing list 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, June 11, 2014 at 8:28 AM
To: JETTY user mailing list 
<[email protected]<mailto:[email protected]>>
Subject: Re: [jetty-users] Porting embedded jetty8 application to embedded 
jetty 9

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]<mailto:[email protected]>>
webtide.com<http://www.webtide.com/> - 
intalio.com/jetty<http://intalio.com/jetty>
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty<http://eclipse.org/jetty/> - cometd.org<http://cometd.org/>


On Tue, Jun 10, 2014 at 4:36 PM, Manoj Khangaonkar 
<[email protected]<mailto:[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<tel:%28650%29%20388-4111> and 
delete this e-mail and attached files from your system. Thank you.

_______________________________________________
jetty-users mailing list
[email protected]<mailto:[email protected]>
https://dev.eclipse.org/mailman/listinfo/jetty-users


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

Reply via email to