/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/ |
H A D | CharsetMapper.java | 168 String charset = null; 171 charset = map.getProperty(locale.toString()); 172 if (charset != null) 173 return (charset); 176 charset = map.getProperty(locale.getLanguage()); 177 return (charset); 184 * webapp's desired mapping from locale to charset. This method 188 * @param charset The charset to be associated with the locale 190 public void addCharsetMappingFromDeploymentDescriptor(String locale,String charset) { argument [all...] |
H A D | RequestUtil.java | 66 import java.nio.charset.Charset; 67 import java.nio.charset.UnsupportedCharsetException; 212 int start = contentType.indexOf("charset="); 280 * @param encoding The name of a supported charset used to encode 588 * unchecked java.nio.charset.UnsupportedCharsetException. 589 * cf. String.getBytes(String charset) throws UnsupportedEncodingException 594 Charset charset = null; 597 charset = Charsets.lookupCharset(enc); 602 if (charset == null) { 610 return charset; [all...] |
H A D | Base64.java | 61 import java.nio.charset.Charset;
|
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/logviewer/ |
H A D | WriterOutputStream.java | 46 import java.nio.charset.CharsetDecoder; 47 import java.nio.charset.CodingErrorAction; 48 import java.nio.charset.CoderResult; 49 import java.nio.charset.Charset; 50 import java.nio.charset.UnsupportedCharsetException; 67 public WriterOutputStream(Writer out, Charset charset) { argument 69 decoder = charset.newDecoder();
|
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/ |
H A D | LineTokenReplacer.java | 52 import java.nio.charset.Charset; 69 public LineTokenReplacer(TokenValueSet tokens, String charset) { argument 74 this.charsetName = charset; 86 Charset charset = Charset.forName(charsetName); 87 writer = new BufferedWriter(new OutputStreamWriter(outputStream, charset));
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/runtime/ |
H A D | ASLocaleCharsetInfo.java | 51 import java.nio.charset.*; 81 "FAILED [AS-WEB local-charset-info] Empty "+ defaultLocale +" [ {0} ] is not valid.", 95 "PASSED [AS-WEB locale-charset-info] Properly "+ defaultLocale +" [ {0} ] defined in the war file.", 103 "WARNING [AS-WEB local-charset-info] attribute default_locale [ {0} ] is not valid.", 107 //Test 2: check validity of charset 118 "FAILED [AS-WEB local-charset-map] attribute locale [ {0} ] must be of finite length.", 132 "WARNING [AS-WEB local-charset-map] attribute locale [ {0} ] is not valid.", 138 "PASSED [AS-WEB locale-charset-map] attribute locale [ {0} ] properly defined.", 142 //Test 2.2: check validity of each charset 143 String charset [all...] |
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/ |
H A D | PartItem.java | 67 import java.nio.charset.Charset; 261 * Returns the content charset passed by the agent or <code>null</code> if 264 * @return The content charset passed by the agent or <code>null</code> if 272 return params.get("charset"); 364 * @param charset The charset to use. 371 public String getString(final String charset) argument 373 return new String(get(), RequestUtil.lookupCharset(charset)); 388 String charset = getCharSet(); 389 if (charset [all...] |
H A D | ByteArrayOutputStream.java | 66 import java.nio.charset.Charset;
|
H A D | RequestItemIterator.java | 68 import java.nio.charset.Charset;
|
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/ |
H A D | ServerReaderFilter.java | 45 import java.nio.charset.Charset;
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/ |
H A D | Utility.java | 55 import java.nio.charset.Charset; 56 import java.nio.charset.CharsetDecoder; 57 import java.nio.charset.CharsetEncoder; 58 import java.nio.charset.CharacterCodingException; 59 import java.nio.charset.UnsupportedCharsetException; 454 * Convert the byte array to char array with respect to given charset. 457 * @param charset null or "" means default charset 460 public static char[] convertByteArrayToCharArray(byte[] byteArray, String charset) argument 470 if (charset [all...] |
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/custom/ |
H A D | LogViewerResource.java | 47 import java.nio.charset.Charset; 95 protected Charset charset; field in class:LogViewerResource 109 @Produces("text/plain;charset=UTF-8") 183 public void initLargeText(final File file, Charset charset, boolean completed) { argument 184 this.charset = charset; 214 return writeLogTo(start, new WriterOutputStream(w, charset));
|
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/ |
H A D | Util.java | 61 import java.nio.charset.Charset; 62 import java.nio.charset.UnsupportedCharsetException;
|
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/ |
H A D | ProxyHandlerImpl.java | 47 import java.nio.charset.Charset;
|
H A D | PEAccessLogValve.java | 63 import java.nio.charset.Charset;
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/authenticator/ |
H A D | BasicAuthenticator.java | 69 import java.nio.charset.Charset;
|
H A D | DigestAuthenticator.java | 71 import java.nio.charset.Charset;
|
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/jdbc/ |
H A D | JDBCRealm.java | 47 import java.nio.charset.CharacterCodingException; 98 * <li>charset: charset encoding 126 public static final String PARAM_CHARSET = "charset"; 170 String charset = props.getProperty(PARAM_CHARSET); 245 if (charset != null) { 246 this.setProperty(PARAM_CHARSET, charset); 259 PARAM_CHARSET + " = " + charset);
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/ |
H A D | SSIFilter.java | 68 import java.nio.charset.Charset;
|
H A D | SSIServletExternalResolver.java | 75 import java.nio.charset.Charset;
|
/glassfish-3.1.2/admingui/common/src/main/resources/security/realms/ |
H A D | realmAttrs.inc | 195 <sun:property id="charset" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.realm.charset}" helpText="$resource{i18nc.realm.charsetHelp}" > 196 <sun:textField id="charset" columns="$int{60}" maxLength="#{sessionScope.fieldLengths['maxLength.realm.charset']}" text="#{attrMap.charset}" />
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/ |
H A D | Response.java | 714 * include a charset=ISO-8859-1 component which will also be 850 // Ignore charset if getWriter() has already been called 862 // Check to see if content type contains charset 894 * @param charset String containing the name of the character encoding. 896 public void setCharacterEncoding(String charset) { argument 910 coyoteResponse.setCharacterEncoding(charset); 943 String charset = cm.getCharset( locale ); 944 if ( charset != null ){ 945 coyoteResponse.setCharacterEncoding(charset);
|
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/pwc/connector/coyote/ |
H A D | PwcCoyoteRequest.java | 58 import java.nio.charset.Charset; 67 * request encoding (charset). 118 * If there is no request charset specified in the request, determines and 119 * sets the request charset using the locale-charset-info, 120 * locale-charset-map, and parameter-encoding elements provided in the 171 * Determines and sets the request charset using the locale-charset-info, 172 * locale-charset-map, and parameter-encoding elements provided in the
|
/glassfish-3.1.2/web/web-ha/src/main/java/org/glassfish/web/ha/session/management/ |
H A D | CompositeMetadata.java | 48 import java.nio.charset.Charset;
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/realm/ |
H A D | RealmBase.java | 84 import java.nio.charset.CharacterCodingException; 150 * The encoding charset for the digest. 280 * Returns the digest encoding charset. 282 * @return The charset (may be null) for platform default 289 * Sets the digest encoding charset. 291 * @param charset The charset (null for platform default) 293 public void setDigestEncoding(String charset) { argument 294 digestEncoding = charset;
|