summaryrefslogtreecommitdiff
path: root/jsonrpc/src/main/java/com/orbekk/same/CallerInfoListener.java
blob: e3ccfeac1206885367c379a7586d27c6782bf3d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
package com.orbekk.same;

/**
 * An interface to get notified of the current caller.
 *
 * This interface is needed because jsonrpc4j does not pass the
 * HttpServletRequest to the service implementation.
 */
public interface CallerInfoListener {
    void setCaller(String callerIp);
}