@Silencer I too am working with this in a custom module. I was able to get the below code to work without too much issue. I am also retrieving additional values for different security checks and logging requirements as well as looping over the querystring values and parsing them out. Be certain your set your correct JRE, otherwise it will not work, I think we are targeting 8.0?
public void onHTTPCupertinoStreamingSessionCreate(HTTPStreamerSessionCupertino httpSession) {
String subjectDN = httpSession.getHTTPHeader(“subject_dn”);
String issuersDN = httpSession.getHTTPHeader(“issuer_dn”);
String myReferer = httpSession.getHTTPHeader(“referer”);
String queryStr = httpSession.getQueryStr();
String sessionId = httpSession.getSessionId();
DateTimeFormatter dtf = DateTimeFormatter.ofPattern(“yyyy/MM/dd HH:mm:ss”);
LocalDateTime now = LocalDateTime.now();
String wowzatokenstarttime = “”;
String wowzatokenendtime = “”;
String wowzatokenhash = “”;
getLogger().info(“onHTTPCupertinoStreamingSessionCreate: User:” + subjectDN + “, issuersDN:” + issuersDN + “, referer:” + myReferer + ", queryStr: " + queryStr + ", date: " + dtf.format(now));
}