cebit.proxy.idm
Class LoggingServlet
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--cebit.proxy.idm.LoggingServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class LoggingServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Gets the HTML output of the logging servlet.
Possible Request Items are:
(no request)
return Frameset of logging page, start new session
sessionId=x
take values of session x as default
lang=x
use language x (default is "de" for german)
frame={head, listContent, list,content}
Requests the page for {head,listContent,list,content}-Frame
in head-Frame: no additional request parameters
in listContent-Frame:
all parameters of list and conent frames. |
(package private) java.util.Locale |
getLocale(java.lang.String locString)
Returns a locale specified by the given String. |
(package private) java.lang.String |
getP3PShortDescription(java.lang.String sessionId,
java.lang.String p3pName)
Returns the short description of an given item of the P3P naming scheme. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
public static boolean debug
SESSION_LAST_TIME_USED
public static java.lang.String SESSION_LAST_TIME_USED
SESSION_LOCALE
public static java.lang.String SESSION_LOCALE
SESSION_RESOURCE_BUNDLE
public static java.lang.String SESSION_RESOURCE_BUNDLE
SESSION_SORTING_TYPE
public static java.lang.String SESSION_SORTING_TYPE
SESSION_SELECTED_ROLE
public static java.lang.String SESSION_SELECTED_ROLE
SESSION_SELECTED_PSEUDONYM
public static java.lang.String SESSION_SELECTED_PSEUDONYM
SESSION_SELECTED_TRANSACTION
public static java.lang.String SESSION_SELECTED_TRANSACTION
SESSION_SELECTED_TPARTNER
public static java.lang.String SESSION_SELECTED_TPARTNER
SESSION_SELECTED_DATA_FIELD_NAME
public static java.lang.String SESSION_SELECTED_DATA_FIELD_NAME
SESSION_SELECTED_DATA_FIELD_VALUE
public static java.lang.String SESSION_SELECTED_DATA_FIELD_VALUE
QUERY_SESSION_ID
public static java.lang.String QUERY_SESSION_ID
QUERY_LANG
public static java.lang.String QUERY_LANG
QUERY_FRAME
public static java.lang.String QUERY_FRAME
QUERY_SORTING_TYPE
public static java.lang.String QUERY_SORTING_TYPE
QUERY_LIST_SELECTED
public static java.lang.String QUERY_LIST_SELECTED
QUERY_CONTENT_SELECTED
public static java.lang.String QUERY_CONTENT_SELECTED
QUERY_DATA_TYPE
public static java.lang.String QUERY_DATA_TYPE
p3pNames
static java.util.HashSet p3pNames
LoggingServlet
public LoggingServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Gets the HTML output of the logging servlet.
Possible Request Items are:
(no request) |
return Frameset of logging page, start new session |
sessionId=x |
take values of session x as default |
lang=x |
use language x (default is "de" for german) |
frame={head, listContent, list,content} |
Requests the page for {head,listContent,list,content}-Frame |
in head-Frame: no additional request parameters
in listContent-Frame:
all parameters of list and conent frames. They are split and sent
to list or content frame as appropriate
in list-Frame:
sortingType=x |
sorting type indicating the data to sort after |
td>listSelected=x/x...
selected item, first x for first category, second x for second category
and so on |
in Content-Frame:
dataType=x |
data type to show details to |
contentSelected=x |
selected data item of that type |
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
request
- the request objectresponse
- the response object
- Throws:
java.io.IOException
- if some IO error occures
javax.servlet.ServletException
getLocale
java.util.Locale getLocale(java.lang.String locString)
- Returns a locale specified by the given String.
Currently, "de" and "en" are supported.
- Parameters:
locString
- the String specifying the locale
- Returns:
- the locale, or null, if locString is invalid
getP3PShortDescription
java.lang.String getP3PShortDescription(java.lang.String sessionId,
java.lang.String p3pName)
- Returns the short description of an given item of the P3P naming scheme.
- Parameters:
sessionId
- the session idp3pName
- the P3P naming scheme item
- Returns:
- the description, or, if no description was foud, the given p3pName
Copyright © 2003 DRIM Team. All Rights Reserved.