Mercurial Hosting > luan
comparison src/org/eclipse/jetty/util/MultiPartInputStream.java @ 820:8e9db0bbf4f9
remove org.eclipse.jetty.util.log and upgrade slf4j
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 13 Sep 2016 23:13:06 -0600 |
parents | 3428c60d7cfc |
children | 7fb7c1915788 |
comparison
equal
deleted
inserted
replaced
819:17bd0b170ed6 | 820:8e9db0bbf4f9 |
---|---|
44 | 44 |
45 import javax.servlet.MultipartConfigElement; | 45 import javax.servlet.MultipartConfigElement; |
46 import javax.servlet.ServletException; | 46 import javax.servlet.ServletException; |
47 import javax.servlet.http.Part; | 47 import javax.servlet.http.Part; |
48 | 48 |
49 import org.eclipse.jetty.util.log.Log; | 49 import org.slf4j.Logger; |
50 import org.eclipse.jetty.util.log.Logger; | 50 import org.slf4j.LoggerFactory; |
51 | 51 |
52 | 52 |
53 | 53 |
54 /** | 54 /** |
55 * MultiPartInputStream | 55 * MultiPartInputStream |
56 * | 56 * |
57 * Handle a MultiPart Mime input stream, breaking it up on the boundary into files and strings. | 57 * Handle a MultiPart Mime input stream, breaking it up on the boundary into files and strings. |
58 */ | 58 */ |
59 public class MultiPartInputStream | 59 public class MultiPartInputStream |
60 { | 60 { |
61 private static final Logger LOG = Log.getLogger(MultiPartInputStream.class); | 61 private static final Logger LOG = LoggerFactory.getLogger(MultiPartInputStream.class); |
62 | 62 |
63 public static final MultipartConfigElement __DEFAULT_MULTIPART_CONFIG = new MultipartConfigElement(System.getProperty("java.io.tmpdir")); | 63 public static final MultipartConfigElement __DEFAULT_MULTIPART_CONFIG = new MultipartConfigElement(System.getProperty("java.io.tmpdir")); |
64 protected InputStream _in; | 64 protected InputStream _in; |
65 protected MultipartConfigElement _config; | 65 protected MultipartConfigElement _config; |
66 protected String _contentType; | 66 protected String _contentType; |