com.perimeterx.api.ip.IPProvider Maven / Gradle / Ivy
package com.perimeterx.api.ip;
import javax.servlet.http.HttpServletRequest;
/**
* Extract the IP address from request
*
* Created by shikloshi on 05/07/2016.
*/
public interface IPProvider {
/**
* Extract IP from Http request
*
* @param request - from which we want to extract IP
* @return - IP string
*/
String getRequestIP(HttpServletRequest request);
}