Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
move Accessor,SessionAccessor to feilong-servlet
Browse files Browse the repository at this point in the history
  • Loading branch information
venusdrogon committed May 15, 2016
1 parent c0a9add commit 895bfdf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 127 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
import org.slf4j.LoggerFactory;

import com.feilong.core.UncheckedIOException;
import com.feilong.servlet.Accessor;
import com.feilong.servlet.SessionAccessor;
import com.feilong.tools.barcode.BarcodeEncodeUtil;

/**
Expand Down Expand Up @@ -86,7 +88,7 @@ public void service(ServletRequest request,ServletResponse response) throws Serv
* @param barcodeContentsAndConfig
* the barcode contents and config
*/
private void render(BarcodeContentsAndConfig barcodeContentsAndConfig,ServletResponse response){
private static void render(BarcodeContentsAndConfig barcodeContentsAndConfig,ServletResponse response){
try{
ServletOutputStream outputStream = response.getOutputStream();
BarcodeEncodeUtil.encode(barcodeContentsAndConfig.getContents(), outputStream, barcodeContentsAndConfig.getBarcodeConfig());
Expand All @@ -95,5 +97,4 @@ private void render(BarcodeContentsAndConfig barcodeContentsAndConfig,ServletRes
throw new UncheckedIOException(e);
}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
import com.feilong.core.CharsetType;
import com.feilong.core.Validator;
import com.feilong.core.net.ParamUtil;
import com.feilong.servlet.Accessor;
import com.feilong.servlet.SessionAccessor;
import com.feilong.servlet.http.RequestUtil;
import com.feilong.taglib.AbstractStartWriteContentTag;
import com.feilong.tools.barcode.BarcodeConfig;
Expand Down

This file was deleted.

0 comments on commit 895bfdf

Please sign in to comment.