Declare com.51degrees:device-detection in your pom.xml and open each Pipeline in a try-with-resources block. DeviceDetectionPipelineBuilder takes useOnPremise with a Hash data file or useCloud with a Resource Key, and data.get(DeviceData.class) gives typed results after data.process().
Servlet apps add PipelineFilter, Spring MVC apps FiftyOneInterceptor. Given Enterprise data files, console examples time Device Detection against BrowsCap and use IP Intelligence to rate how likely an address is to send suspicious requests. If a Resource Key includes Human Confidence or Identifiers, the pipeline gets them from the cloud service, and pipeline.did reads the 51Did.
On Maven Central as com.51degrees:device-detection and com.51degrees:ip-intelligence.
Code and issues: https://github.com/51Degrees/51degrees-java
Documentation: https://51degrees.com/documentation/index.html?utm_source=sourceforge&utm_medium=listing&utm_campaign=51degrees-java&utm_content=description&utm_term=docs
Features
- Fluent DeviceDetectionPipelineBuilder and IPIntelligencePipelineBuilder
- Servlet filter and Spring MVC interceptor
- On-premise and cloud engines for both Device Detection and IP Intelligence
- Typed DeviceData results
- Comparison and suspicious IP examples for Enterprise files
- Reverse geocoding with com.51degrees:geo-location
- Human Confidence and Identifiers with a cloud service key
- 51Did support in pipeline.did
- European Union Public Licence 1.2
License
European Union Public LicenseFollow 51Degrees for Java
User Reviews
-
1 out of 5 starsQuick and easy to use!