Skip to main content

Intercept all HTTP requests

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
aleksandar
Offline
Joined: 2006-05-05

Hi *,

I have glassfish server, configured with several virtual hosts. Some of
the virtual hosts are serving static files.

I want to intercept all HTTP requests (HttpServletRequest) from all
hosts in order to analyze and prevent DDoS attacks.

Is this possible through some OSGi service or something else ?

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
amsash
Offline
Joined: 2013-04-16

To intercept and analyse the HTTP request. Check the access log of webserver(Apache) to get a detail info about the IP and other details.