|
barcode4j 2.1.0 | |||||||||
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 org.krysalis.barcode4j.servlet.BarcodeServlet
public class BarcodeServlet
Simple barcode servlet.
Field Summary | |
---|---|
static java.lang.String |
BARCODE_FORMAT
Parameter name for the output format |
static java.lang.String |
BARCODE_HEIGHT
Parameter name for the barcode height |
static java.lang.String |
BARCODE_HUMAN_READABLE_FONT
Parameter name for the font name of the human readable display |
static java.lang.String |
BARCODE_HUMAN_READABLE_PATTERN
Parameter name for the pattern to format the human readable message |
static java.lang.String |
BARCODE_HUMAN_READABLE_POS
Parameter name for the human-readable placement |
static java.lang.String |
BARCODE_HUMAN_READABLE_SIZE
Parameter name for the font size of the human readable display |
static java.lang.String |
BARCODE_IMAGE_GRAYSCALE
Parameter name for the grayscale or b/w image (for bitmaps) |
static java.lang.String |
BARCODE_IMAGE_RESOLUTION
Parameter name for the image resolution (for bitmaps) |
static java.lang.String |
BARCODE_MODULE_WIDTH
Parameter name for the module width |
static java.lang.String |
BARCODE_MSG
Parameter name for the message |
static java.lang.String |
BARCODE_QUIET_ZONE
Parameter name for the quiet zone |
static java.lang.String |
BARCODE_TYPE
Parameter name for the barcode type |
static java.lang.String |
BARCODE_WIDE_FACTOR
Parameter name for the wide factor |
Constructor Summary | |
---|---|
BarcodeServlet()
|
Method Summary | |
---|---|
protected org.apache.avalon.framework.configuration.Configuration |
buildCfg(javax.servlet.http.HttpServletRequest request)
Build an Avalon Configuration object from the request. |
protected java.lang.String |
determineFormat(javax.servlet.http.HttpServletRequest request)
Check the request for the desired output format. |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
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 |
Field Detail |
---|
public static final java.lang.String BARCODE_MSG
public static final java.lang.String BARCODE_TYPE
public static final java.lang.String BARCODE_HEIGHT
public static final java.lang.String BARCODE_MODULE_WIDTH
public static final java.lang.String BARCODE_WIDE_FACTOR
public static final java.lang.String BARCODE_QUIET_ZONE
public static final java.lang.String BARCODE_HUMAN_READABLE_POS
public static final java.lang.String BARCODE_FORMAT
public static final java.lang.String BARCODE_IMAGE_RESOLUTION
public static final java.lang.String BARCODE_IMAGE_GRAYSCALE
public static final java.lang.String BARCODE_HUMAN_READABLE_SIZE
public static final java.lang.String BARCODE_HUMAN_READABLE_FONT
public static final java.lang.String BARCODE_HUMAN_READABLE_PATTERN
Constructor Detail |
---|
public BarcodeServlet()
Method Detail |
---|
protected 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.HttpServlet
javax.servlet.ServletException
java.io.IOException
HttpServlet.doGet(HttpServletRequest, HttpServletResponse)
protected java.lang.String determineFormat(javax.servlet.http.HttpServletRequest request)
request
- the request to use
protected org.apache.avalon.framework.configuration.Configuration buildCfg(javax.servlet.http.HttpServletRequest request)
request
- the request to use
|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |