default.view.system.info.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sirius-web Show documentation
Show all versions of sirius-web Show documentation
Provides a modern and scalable web server as SIRIUS module
@extends(view.wondergem.template.html, title: ("System Info"))
@section(breadcrumbs) {
System Info
}
Base
Node Name
@ctx.getNodeName()
Remote IP
@call.getRemoteIP().getHostAddress()
Trusted IP
@call.isTrusted()
Language
@call.getLang()
Headers
@for(String name : call.getRequest().headers().names()) {
@name
@for(String value : call.getRequest().headers().getAll(name)) {
@value
}
}
@if (!call.getCookies().isEmpty()) {
Cookies
Name
Value
Secure
HTTP only
@for(io.netty.handler.codec.http.cookie.Cookie cookie : call.getCookies()) {
@cookie.name()
@cookie.value()
@cookie.isSecure()
@cookie.isHttpOnly()
}
}
@if (!call.getSessionKeys().isEmpty()) {
Client Session
@for(String name : call.getSessionKeys()) {
@name
@call.getSessionValue(name)
}
}
@if (call.getServerSession(false).isPresent()) {
Server Session
Session-ID
@call.getServerSession().getId()
@if (call.getServerSession(false).isPresent()) {
Created At
@NLS.toUserString(new java.util.Date(call.getServerSession().getCreationTime()))
Max Inactivity
@NLS.convertDuration(call.getServerSession().getMaxInactiveInterval() * 1000)
@for(String name : call.getServerSession().getKeys()) {
@name
@call.getServerSession().getValue(name)
}
}
}
@if (!renderArgs.isEmpty()) {
Implicit Template Arguments
Name
Type
@for(java.util.Map.Entry entry : renderArgs.entrySet()) {
@entry.getKey()
@if (entry.getValue() != null) {
@entry.getValue().getClass()
}
}
}