public class App
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Connection |
connection |
protected javax.servlet.http.HttpServletRequest |
request |
protected javax.servlet.http.HttpServletResponse |
response |
Constructor and Description |
---|
App(Connection connection,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientInfo() |
Connection |
getConnection() |
static App |
getInstance() |
java.lang.String |
getIpAddress() |
java.util.Locale |
getLocale() |
javax.servlet.http.HttpServletRequest |
getRequest() |
javax.servlet.http.HttpServletResponse |
getResponse() |
static boolean |
isBound() |
protected Connection connection
protected javax.servlet.http.HttpServletRequest request
protected javax.servlet.http.HttpServletResponse response
public App(Connection connection, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public static boolean isBound()
public static App getInstance()
public Connection getConnection()
public java.lang.String getIpAddress()
public java.util.Locale getLocale()
public java.lang.String getClientInfo()
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()