public final class DecodeQRCode extends APIServlet.APIRequestHandler
The DecodeQRCode API converts a base64-encoded image of a 2-D QR (Quick Response) code to a UTF-8 string, using the ZXing library.
The input qrCodeBase64 can be the output of the DecodeQRCode API.
Request parameters:
Response fields:
DESCRIPTION_FIELD, MESSAGE_FIELD, NAME_FIELD
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowRequiredBlockParameters() |
protected org.json.simple.JSONStreamAware |
processRequest(javax.servlet.http.HttpServletRequest request) |
protected boolean |
requireBlockchain() |
protected boolean |
requirePost() |
getAPITags, getFileParameter, getParameters, processRequest, requireFullClient, requirePassword, startDbTransaction
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest request) throws NxtException
processRequest
in class APIServlet.APIRequestHandler
NxtException
protected final boolean requirePost()
requirePost
in class APIServlet.APIRequestHandler
protected boolean allowRequiredBlockParameters()
allowRequiredBlockParameters
in class APIServlet.APIRequestHandler
protected boolean requireBlockchain()
requireBlockchain
in class APIServlet.APIRequestHandler