Searched defs:enc (Results 1 - 8 of 8) sorted by relevance
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/ |
H A D | Util.java | 152 * @param enc The encoding to use; if null, the default encoding is used 156 public static String urlDecode(String str, String enc) { argument 166 if (enc == null) { 169 bytes = str.getBytes(Charsets.lookupCharset(enc)); 173 return urlDecode(bytes, enc); 192 * @param enc The encoding to use; if null, the default encoding is used 196 public static String urlDecode(byte[] bytes, String enc) { argument 214 if (enc != null) { 216 return new String(bytes, 0, ox, Charsets.lookupCharset(enc));
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/ |
H A D | ByteArrayOutputStream.java | 345 * @param enc the name of the character encoding 350 public String toString(String enc) throws UnsupportedEncodingException { argument 351 return new String(toByteArray(), RequestUtil.lookupCharset(enc));
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/ |
H A D | RequestUtil.java | 330 * @param enc The encoding to use; if null, the default encoding is used 334 public static String urlDecode(String str, String enc) { argument 337 return Util.urlDecode(str, enc); 359 * @param enc The encoding to use; if null, the default encoding is used 363 public static String urlDecode(byte[] bytes, String enc) { argument 366 return Util.urlDecode(bytes, enc); 593 public static Charset lookupCharset(String enc) throws UnsupportedEncodingException { argument 597 charset = Charsets.lookupCharset(enc);
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/ |
H A D | InputBuffer.java | 145 private String enc; field in class:InputBuffer 283 enc = null; 380 enc = s; 572 enc = coyoteRequest.getCharacterEncoding(); 575 log.fine("Got encoding: " + enc); 578 if (enc == null) 579 enc = DEFAULT_ENCODING; 580 conv = encoders.get(enc); 588 return new B2CConverter(enc); 602 conv = new B2CConverter(enc); [all...] |
H A D | OutputBuffer.java | 153 private String enc; field in class:OutputBuffer 311 enc = null; 549 enc = s; 565 enc = response.getCharacterEncoding(); 568 log.fine("Got encoding: " + enc); 571 if (enc == null) 572 enc = DEFAULT_ENCODING; 573 conv = encoders.get(enc); 581 return C2BConverter.getInstance(bb, enc); 595 conv = C2BConverter.getInstance(bb, enc); [all...] |
H A D | Request.java | 1733 * @param enc <code>String</code> containing the name of 1743 public void setCharacterEncoding(String enc) argument 1751 enc, contextName)); 1763 * String dummy = new String(buffer, enc); 1768 final String finalEnc = enc; 1786 new String(buffer, RequestUtil.lookupCharset(enc)); 1791 coyoteRequest.setCharacterEncoding(enc); 3113 String enc = getCharacterEncoding(); 3122 if (enc != null) { 3123 parameters.setEncoding(enc); [all...] |
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/ |
H A D | DummyRequest.java | 234 public void setCharacterEncoding(String enc) argument
|
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/ |
H A D | WebModule.java | 878 * @param enc The file encoding of static resources of this web module 880 public void setFileEncoding(String enc) { argument 881 this.fileEncoding = enc;
|
Completed in 313 milliseconds