public class ServerInfo extends Object
ServletContext.| Modifier and Type | Method and Description |
|---|---|
static ServerInfo |
create(String nameAndVersion,
String servletVersion) |
String |
getNameAndVersion()
Retrieves the name and version of the HTTP server/servlet container.
|
String |
getServletSpecVersion()
Retrieves the version of the servlet specification.
|
public static ServerInfo create(String nameAndVersion, String servletVersion)
public String getNameAndVersion()
ServletContext.getServerInfo()public String getServletSpecVersion()
ServletContext.getMajorVersion(),
ServletContext.getMinorVersion()Copyright © 2016. All rights reserved.