|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--com.infodesire.infobit.servlet.InfobitServlet
servlet capable to render infobits. delegates work to renderer. output is intendet to be transformed by xslt filter. Accepts 2 parameters: "poolName" defined infobit pool name ( from pool configured in web application ). "binaryPrefix" tells which servlet is going to serve out our binary content.
| Field Summary | |
static java.lang.String |
BINARY_PREFIX
parameter specifying prefix for binary infobit servlet shall start with / but without trailing one. |
static java.lang.String |
BINARY_PREFIX_NAME
parameter to pass to context for binary prefix |
static java.lang.String |
CONTENT_TYPE
Description of the Field |
static java.lang.String |
DEFAULT_CONTENT_TYPE
The default content type for the response |
static java.lang.String |
DEFAULT_OUTPUT_ENCODING
Default encoding for the output stream |
static java.lang.String |
FORMAT_TOOL
reference name in context for format tool |
static java.lang.String |
POOL_NAME
parameter specifying which infobit pool is to be used |
static java.lang.String |
SESSION_NAME
parameter to pass to context for binary prefix |
| Constructor Summary | |
InfobitServlet()
|
|
| Method Summary | |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles GET - calls doRequest() |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle a POST request - calls doRequest() |
protected void |
doRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles with both GET and POST requests. |
void |
init(javax.servlet.ServletConfig config)
initialize servlet for infobit rendering |
java.util.Map |
setupContext(javax.servlet.http.HttpServletRequest request)
setup parameters from request. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CONTENT_TYPE
public static final java.lang.String DEFAULT_CONTENT_TYPE
public static final java.lang.String DEFAULT_OUTPUT_ENCODING
public static final java.lang.String POOL_NAME
public static final java.lang.String BINARY_PREFIX
public static final java.lang.String BINARY_PREFIX_NAME
public static final java.lang.String SESSION_NAME
public static final java.lang.String FORMAT_TOOL
| Constructor Detail |
public InfobitServlet()
| Method Detail |
public java.util.Map setupContext(javax.servlet.http.HttpServletRequest request)
request - Description of Parameter
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - Description of Parameter
javax.servlet.ServletException - Description of Exception
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
doGet in class javax.servlet.http.HttpServletrequest - Description of Parameterresponse - Description of Parameter
javax.servlet.ServletException - Description of Exception
java.io.IOException - Description of Exception
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
doPost in class javax.servlet.http.HttpServletrequest - Description of Parameterresponse - Description of Parameter
javax.servlet.ServletException - Description of Exception
java.io.IOException - Description of Exception
protected void doRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
request - HttpServletRequest object containing client
requestresponse - HttpServletResponse object for the response
javax.servlet.ServletException - Description of Exception
java.io.IOException - Description of Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||