public class ZXingResult
extends org.osgl.mvc.result.Result
Constructor and Description |
---|
ZXingResult(java.lang.String content) |
ZXingResult(java.lang.String content,
com.google.zxing.BarcodeFormat barcodeFormat) |
ZXingResult(java.lang.String content,
com.google.zxing.BarcodeFormat barcodeFormat,
com.google.zxing.qrcode.decoder.ErrorCorrectionLevel errorCorrectionLevel) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyMessage(org.osgl.http.H.Request request,
org.osgl.http.H.Response response) |
static ZXingResult |
barcode(java.lang.String content) |
protected com.google.zxing.BarcodeFormat |
barcodeFormat() |
ZXingResult |
barCodeFormat(com.google.zxing.BarcodeFormat format) |
protected com.google.zxing.qrcode.decoder.ErrorCorrectionLevel |
errorCorrectionLevel() |
ZXingResult |
errorCorrectionLevel(com.google.zxing.qrcode.decoder.ErrorCorrectionLevel level) |
ZXingResult |
height(int height) |
static ZXingResult |
qrcode(java.lang.String content) |
ZXingResult |
width(int width) |
addCookie, addHeader, apply, applyAfterCommitHandler, applyBeforeCommitHandler, applyCookies, applyHeaders, applyStatus, clearThreadLocals, header, payload, status, status, statusCode, timestamp, touchPayload
doFillInStackTrace, fillInStackTrace
public ZXingResult(java.lang.String content)
public ZXingResult(java.lang.String content, com.google.zxing.BarcodeFormat barcodeFormat)
public ZXingResult(java.lang.String content, com.google.zxing.BarcodeFormat barcodeFormat, com.google.zxing.qrcode.decoder.ErrorCorrectionLevel errorCorrectionLevel)
public ZXingResult width(int width)
public ZXingResult height(int height)
public ZXingResult errorCorrectionLevel(com.google.zxing.qrcode.decoder.ErrorCorrectionLevel level)
public ZXingResult barCodeFormat(com.google.zxing.BarcodeFormat format)
protected void applyMessage(org.osgl.http.H.Request request, org.osgl.http.H.Response response)
applyMessage
in class org.osgl.mvc.result.Result
protected com.google.zxing.qrcode.decoder.ErrorCorrectionLevel errorCorrectionLevel()
protected com.google.zxing.BarcodeFormat barcodeFormat()
public static ZXingResult barcode(java.lang.String content)
public static ZXingResult qrcode(java.lang.String content)
Copyright © 2014–2017 ActFramework. All rights reserved.