public class Dispatcher extends HttpServlet implements Public
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_SESSION
Deprecated.
Use
ServletUtils.ADMIN_SESSION instead. |
static String |
ADMIN_URL
Deprecated.
Use
ServletUtils.ADMIN_URL instead. |
static int |
licenceStatus |
static String |
METHOD_ATTRIB_NAME |
static com.groiss.servlet.impl.OldRequestHandler |
oldHandler |
Constructor and Description |
---|
Dispatcher() |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public static final String METHOD_ATTRIB_NAME
public static com.groiss.servlet.impl.OldRequestHandler oldHandler
public static int licenceStatus
@Deprecated public static final String ADMIN_SESSION
ServletUtils.ADMIN_SESSION
instead.@Deprecated public static final String ADMIN_URL
ServletUtils.ADMIN_URL
instead.public void init()
init
in class GenericServlet
public void service(HttpServletRequest req, HttpServletResponse res) throws IOException
service
in class HttpServlet
IOException
public static boolean isPublicRequest(HttpServletRequest req)
public static Access.mode getAccessAnnotation(Method m)
public static Method getMethod(String m) throws Exception
m
- Exception
- an exception is thrown if the string describes not a method with the signature necessary for the dispatcher.public static void reloadClasses()
public static HttpAuth getAuthClassInstance()
public static boolean isMailReferer(HttpServletRequest req, String methodstr)
public static boolean refererOK(HttpServletRequest req, String methodStr, Class<?> clazz)
@Deprecated public static boolean isAdminSession(HttpServletRequest req)
ServletUtils.isAdminSession(HttpServletRequest)
instead.@Deprecated public static Boolean isAdminConnector(HttpServletRequest req)
ServletUtils.isAdminConnector(HttpServletRequest)
instead.@Deprecated public static void checkAdminSession(HttpServletRequest req)
ServletUtils.checkAdminSession(HttpServletRequest)
instead.@Deprecated public static void writeHeaders(HttpServletResponse res, Page page)
ServletUtils.writeHeaders(HttpServletResponse,Page)
instead.@Deprecated public static void writeToResp(HttpServletResponse res, String pageStr)
ServletUtils.writeToResp(HttpServletResponse,String)
instead.@Deprecated public static void writeToResp(HttpServletResponse res, Page page)
ServletUtils.writeToResp(HttpServletResponse,Page)
instead.@Deprecated public static long getRequestCount()
EPFilter.getRequestCount()
instead.@Deprecated public static Locale setLocale(HttpServletRequest req)
ServletUtils.setLocale(HttpServletRequest,Principal)
instead.@Deprecated public static Locale setLocale(HttpServletRequest req, Principal u)
ServletUtils.setLocale(HttpServletRequest,Principal)
instead.@Deprecated public static Locale getBrowserLocale(HttpServletRequest req)
ServletUtils.getBrowserLocale(HttpServletRequest)
instead.@Deprecated public static String getContextPath()
ServletUtils.getContextPath()
instead.@Deprecated public static void addModificationInfo(HttpServletRequest req, HttpServletResponse resp, long lastModified, Locale locale)
ServletUtils.addModificationInfo(HttpServletRequest, HttpServletResponse, long, Locale)
instead.@Deprecated public static void addModificationInfo(HttpServletRequest req, HttpServletResponse resp, long lastModified, Locale locale, String ctx)
ServletUtils.addModificationInfo(HttpServletRequest, HttpServletResponse, long, Locale, String)
instead.@Deprecated public static boolean isModifiedSince(HttpServletRequest req, HttpServletResponse resp, long lastModified, Locale l)
ServletUtils.isModifiedSince(HttpServletRequest, HttpServletResponse, long, Locale)
instead.@Deprecated public static boolean isModifiedSince(HttpServletRequest req, HttpServletResponse resp, long lastModified, Locale l, String ctx)
ServletUtils.isModifiedSince(HttpServletRequest, HttpServletResponse, long, Locale)
instead.@Deprecated public static void setExpiresImmediatelyForGuest(HttpServletRequest req, HttpServletResponse res)
ServletUtils.setExpiresImmediatelyForGuest(HttpServletRequest, HttpServletResponse)
instead.@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.