public class HTTPHandlerService extends GatewayPort
Modifier and Type | Field and Description |
---|---|
static String |
CONF_FILENAME
FileName for the main configuration File.
|
static String |
CSS_LOCATION
Property key for Location of the CSS to use
|
static String |
RESOURCES_LOC
Property key for the location of the resources directory.
|
static String |
SERVICE_URL
Property key for the location of the servlet within the http container.
|
static String |
TIMEOUT
Property key for the session timeout, time after which (and with no
activity) the servlet will interpret the session as expired.
|
loggedUsers, REALM
Constructor and Description |
---|
HTTPHandlerService(ModuleContext mcontext,
File prop) |
Modifier and Type | Method and Description |
---|---|
String |
dataDir() |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
boolean |
unregister() |
String |
url() |
getContext, getUserAndPass, handleAuthorization, logout, register, requireCredentials, setContext
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final String CONF_FILENAME
public static final String CSS_LOCATION
public static final String RESOURCES_LOC
public static final String SERVICE_URL
public static final String TIMEOUT
public HTTPHandlerService(ModuleContext mcontext, File prop)
mcontext
- public String dataDir()
dataDir
in class GatewayPort
public String url()
url
in class GatewayPort
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public boolean unregister()
unregister
in class GatewayPort
Copyright © 2018 universAAL Consortium. All rights reserved.