Home
last modified time | relevance | path

Searched refs:characterEncoding (Results 1 – 25 of 121) sorted by relevance

12345

/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.test/src/main/java/org/springframework/mock/web/portlet/
H A DMockMimeResponse.java51 private String characterEncoding = WebUtils.DEFAULT_CHARACTER_ENCODING; field in MockMimeResponse
119 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
120 this.characterEncoding = characterEncoding; in setCharacterEncoding()
124 return this.characterEncoding; in getCharacterEncoding()
129 Writer targetWriter = (this.characterEncoding != null in getWriter()
130 ? new OutputStreamWriter(this.outputStream, this.characterEncoding) in getWriter()
144 return (this.characterEncoding != null) in getContentAsString()
145 ? this.outputStream.toString(this.characterEncoding) in getContentAsString()
197 this.characterEncoding = null; in reset()
H A DMockClientDataRequest.java38 private String characterEncoding; field in MockClientDataRequest
88 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
89 this.characterEncoding = characterEncoding; in setCharacterEncoding()
95 Reader sourceReader = (this.characterEncoding != null) ? in getReader()
96 … new InputStreamReader(sourceStream, this.characterEncoding) : new InputStreamReader(sourceStream); in getReader()
105 return this.characterEncoding; in getCharacterEncoding()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web.portlet/src/test/java/org/springframework/mock/web/portlet/
H A DMockMimeResponse.java51 private String characterEncoding = WebUtils.DEFAULT_CHARACTER_ENCODING; field in MockMimeResponse
119 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
120 this.characterEncoding = characterEncoding; in setCharacterEncoding()
124 return this.characterEncoding; in getCharacterEncoding()
129 Writer targetWriter = (this.characterEncoding != null in getWriter()
130 ? new OutputStreamWriter(this.outputStream, this.characterEncoding) in getWriter()
144 return (this.characterEncoding != null) in getContentAsString()
145 ? this.outputStream.toString(this.characterEncoding) in getContentAsString()
197 this.characterEncoding = null; in reset()
H A DMockClientDataRequest.java38 private String characterEncoding; field in MockClientDataRequest
88 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
89 this.characterEncoding = characterEncoding; in setCharacterEncoding()
95 Reader sourceReader = (this.characterEncoding != null) ? in getReader()
96 … new InputStreamReader(sourceStream, this.characterEncoding) : new InputStreamReader(sourceStream); in getReader()
105 return this.characterEncoding; in getCharacterEncoding()
/dports/lang/rhino/rhino1_7R4/toolsrc/org/mozilla/javascript/tools/shell/
H A DShellContextFactory.java20 private String characterEncoding; field in ShellContextFactory
94 return characterEncoding; in getCharacterEncoding()
97 public void setCharacterEncoding(String characterEncoding) in setCharacterEncoding() argument
99 this.characterEncoding = characterEncoding; in setCharacterEncoding()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.orm/src/test/java/org/springframework/mock/web/
H A DMockHttpServletResponse.java66 private String characterEncoding = WebUtils.DEFAULT_CHARACTER_ENCODING; field in MockHttpServletResponse
140 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
141 this.characterEncoding = characterEncoding; in setCharacterEncoding()
150 sb.append(";").append(CHARSET_PREFIX).append(this.characterEncoding); in updateContentTypeHeader()
157 return this.characterEncoding; in getCharacterEncoding()
172 Writer targetWriter = (this.characterEncoding != null ? in getWriter()
173 …new OutputStreamWriter(this.content, this.characterEncoding) : new OutputStreamWriter(this.content… in getWriter()
186 return (this.characterEncoding != null) ? in getContentAsString()
187 this.content.toString(this.characterEncoding) : this.content.toString(); in getContentAsString()
205 this.characterEncoding = encoding; in setContentType()
[all …]
H A DMockHttpServletRequest.java109 private String characterEncoding; field in MockHttpServletRequest
298 return this.characterEncoding; in getCharacterEncoding()
301 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
302 this.characterEncoding = characterEncoding; in setCharacterEncoding()
309 …if (this.contentType.toLowerCase().indexOf(CHARSET_PREFIX) == -1 && this.characterEncoding != null… in updateContentTypeHeader()
310 sb.append(";").append(CHARSET_PREFIX).append(this.characterEncoding); in updateContentTypeHeader()
330 this.characterEncoding = encoding; in setContentType()
518 Reader sourceReader = (this.characterEncoding != null) ? new InputStreamReader(sourceStream, in getReader()
519 this.characterEncoding) : new InputStreamReader(sourceStream); in getReader()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.test/src/main/java/org/springframework/mock/web/
H A DMockHttpServletResponse.java66 private String characterEncoding = WebUtils.DEFAULT_CHARACTER_ENCODING; field in MockHttpServletResponse
140 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
141 this.characterEncoding = characterEncoding; in setCharacterEncoding()
150 sb.append(";").append(CHARSET_PREFIX).append(this.characterEncoding); in updateContentTypeHeader()
157 return this.characterEncoding; in getCharacterEncoding()
172 Writer targetWriter = (this.characterEncoding != null ? in getWriter()
173 …new OutputStreamWriter(this.content, this.characterEncoding) : new OutputStreamWriter(this.content… in getWriter()
186 return (this.characterEncoding != null) ? in getContentAsString()
187 this.content.toString(this.characterEncoding) : this.content.toString(); in getContentAsString()
205 this.characterEncoding = encoding; in setContentType()
[all …]
H A DMockHttpServletRequest.java108 private String characterEncoding; field in MockHttpServletRequest
299 return this.characterEncoding; in getCharacterEncoding()
302 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
303 this.characterEncoding = characterEncoding; in setCharacterEncoding()
310 if (!this.contentType.toLowerCase().contains(CHARSET_PREFIX) && this.characterEncoding != null) { in updateContentTypeHeader()
311 sb.append(";").append(CHARSET_PREFIX).append(this.characterEncoding); in updateContentTypeHeader()
331 this.characterEncoding = encoding; in setContentType()
514 Reader sourceReader = (this.characterEncoding != null) ? in getReader()
515 … new InputStreamReader(sourceStream, this.characterEncoding) : new InputStreamReader(sourceStream); in getReader()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web.servlet/src/test/java/org/springframework/mock/web/
H A DMockHttpServletResponse.java71 private String characterEncoding = WebUtils.DEFAULT_CHARACTER_ENCODING; field in MockHttpServletResponse
145 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
146 this.characterEncoding = characterEncoding; in setCharacterEncoding()
155 sb.append(";").append(CHARSET_PREFIX).append(this.characterEncoding); in updateContentTypeHeader()
162 return this.characterEncoding; in getCharacterEncoding()
177 Writer targetWriter = (this.characterEncoding != null ? in getWriter()
178 …new OutputStreamWriter(this.content, this.characterEncoding) : new OutputStreamWriter(this.content… in getWriter()
191 return (this.characterEncoding != null) ? in getContentAsString()
192 this.content.toString(this.characterEncoding) : this.content.toString(); in getContentAsString()
210 this.characterEncoding = encoding; in setContentType()
[all …]
H A DMockHttpServletRequest.java118 private String characterEncoding; field in MockHttpServletRequest
308 return this.characterEncoding; in getCharacterEncoding()
311 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
312 this.characterEncoding = characterEncoding; in setCharacterEncoding()
319 …if (this.contentType.toLowerCase().indexOf(CHARSET_PREFIX) == -1 && this.characterEncoding != null… in updateContentTypeHeader()
320 sb.append(";").append(CHARSET_PREFIX).append(this.characterEncoding); in updateContentTypeHeader()
340 this.characterEncoding = encoding; in setContentType()
524 Reader sourceReader = (this.characterEncoding != null) ? in getReader()
525 … new InputStreamReader(sourceStream, this.characterEncoding) : new InputStreamReader(sourceStream); in getReader()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web/src/test/java/org/springframework/mock/web/
H A DMockHttpServletResponse.java70 private String characterEncoding = WebUtils.DEFAULT_CHARACTER_ENCODING; field in MockHttpServletResponse
144 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
145 this.characterEncoding = characterEncoding; in setCharacterEncoding()
154 sb.append(";").append(CHARSET_PREFIX).append(this.characterEncoding); in updateContentTypeHeader()
161 return this.characterEncoding; in getCharacterEncoding()
176 Writer targetWriter = (this.characterEncoding != null ? in getWriter()
177 …new OutputStreamWriter(this.content, this.characterEncoding) : new OutputStreamWriter(this.content… in getWriter()
190 return (this.characterEncoding != null) ? in getContentAsString()
191 this.content.toString(this.characterEncoding) : this.content.toString(); in getContentAsString()
209 this.characterEncoding = encoding; in setContentType()
[all …]
H A DMockHttpServletRequest.java118 private String characterEncoding; field in MockHttpServletRequest
308 return this.characterEncoding; in getCharacterEncoding()
311 public void setCharacterEncoding(String characterEncoding) { in setCharacterEncoding() argument
312 this.characterEncoding = characterEncoding; in setCharacterEncoding()
319 …if (this.contentType.toLowerCase().indexOf(CHARSET_PREFIX) == -1 && this.characterEncoding != null… in updateContentTypeHeader()
320 sb.append(";").append(CHARSET_PREFIX).append(this.characterEncoding); in updateContentTypeHeader()
340 this.characterEncoding = encoding; in setContentType()
524 Reader sourceReader = (this.characterEncoding != null) ? in getReader()
525 … new InputStreamReader(sourceStream, this.characterEncoding) : new InputStreamReader(sourceStream); in getReader()
/dports/devel/libunit/unit-1.26.1/src/java/nginx/unit/
H A DResponse.java40 private String characterEncoding = defaultCharacterEncoding; field in Response
575 return characterEncoding; in getCharacterEncoding()
707 characterEncoding = defaultCharacterEncoding; in setCharacterEncoding()
710 && !characterEncoding.equalsIgnoreCase(charset)) in setCharacterEncoding()
716 characterEncoding = charset; in setCharacterEncoding()
720 String type = contentType + ";charset=" + characterEncoding; in setCharacterEncoding()
777 && !characterEncoding.equalsIgnoreCase(charset)) in setContentType()
780 charset = characterEncoding; in setContentType()
781 type = ctype + ";charset=" + characterEncoding; in setContentType()
785 type = type + ";charset=" + characterEncoding; in setContentType()
[all …]
H A DRequest.java98 private String characterEncoding = null; field in Request
692 if (characterEncoding != null) { in getCharacterEncoding()
693 return characterEncoding; in getCharacterEncoding()
698 return characterEncoding; in getCharacterEncoding()
726 if (characterEncoding == null && content_type != null) { in getContentType()
730 characterEncoding = charset; in getContentType()
1190 characterEncoding = env; in setCharacterEncoding()
/dports/www/unit-java/unit-1.26.1/src/java/nginx/unit/
H A DResponse.java40 private String characterEncoding = defaultCharacterEncoding; field in Response
575 return characterEncoding; in getCharacterEncoding()
707 characterEncoding = defaultCharacterEncoding; in setCharacterEncoding()
710 && !characterEncoding.equalsIgnoreCase(charset)) in setCharacterEncoding()
716 characterEncoding = charset; in setCharacterEncoding()
720 String type = contentType + ";charset=" + characterEncoding; in setCharacterEncoding()
777 && !characterEncoding.equalsIgnoreCase(charset)) in setContentType()
780 charset = characterEncoding; in setContentType()
781 type = ctype + ";charset=" + characterEncoding; in setContentType()
785 type = type + ";charset=" + characterEncoding; in setContentType()
[all …]
/dports/www/unit/unit-1.26.1/src/java/nginx/unit/
H A DResponse.java40 private String characterEncoding = defaultCharacterEncoding; field in Response
575 return characterEncoding; in getCharacterEncoding()
707 characterEncoding = defaultCharacterEncoding; in setCharacterEncoding()
710 && !characterEncoding.equalsIgnoreCase(charset)) in setCharacterEncoding()
716 characterEncoding = charset; in setCharacterEncoding()
720 String type = contentType + ";charset=" + characterEncoding; in setCharacterEncoding()
777 && !characterEncoding.equalsIgnoreCase(charset)) in setContentType()
780 charset = characterEncoding; in setContentType()
781 type = ctype + ";charset=" + characterEncoding; in setContentType()
785 type = type + ";charset=" + characterEncoding; in setContentType()
[all …]
/dports/www/unit-php/unit-1.26.1/src/java/nginx/unit/
H A DResponse.java40 private String characterEncoding = defaultCharacterEncoding; field in Response
575 return characterEncoding; in getCharacterEncoding()
707 characterEncoding = defaultCharacterEncoding; in setCharacterEncoding()
710 && !characterEncoding.equalsIgnoreCase(charset)) in setCharacterEncoding()
716 characterEncoding = charset; in setCharacterEncoding()
720 String type = contentType + ";charset=" + characterEncoding; in setCharacterEncoding()
777 && !characterEncoding.equalsIgnoreCase(charset)) in setContentType()
780 charset = characterEncoding; in setContentType()
781 type = ctype + ";charset=" + characterEncoding; in setContentType()
785 type = type + ";charset=" + characterEncoding; in setContentType()
[all …]
H A DRequest.java98 private String characterEncoding = null; field in Request
692 if (characterEncoding != null) { in getCharacterEncoding()
693 return characterEncoding; in getCharacterEncoding()
698 return characterEncoding; in getCharacterEncoding()
726 if (characterEncoding == null && content_type != null) { in getContentType()
730 characterEncoding = charset; in getContentType()
1190 characterEncoding = env; in setCharacterEncoding()
/dports/www/unit-python/unit-1.26.1/src/java/nginx/unit/
H A DResponse.java40 private String characterEncoding = defaultCharacterEncoding; field in Response
575 return characterEncoding; in getCharacterEncoding()
707 characterEncoding = defaultCharacterEncoding; in setCharacterEncoding()
710 && !characterEncoding.equalsIgnoreCase(charset)) in setCharacterEncoding()
716 characterEncoding = charset; in setCharacterEncoding()
720 String type = contentType + ";charset=" + characterEncoding; in setCharacterEncoding()
777 && !characterEncoding.equalsIgnoreCase(charset)) in setContentType()
780 charset = characterEncoding; in setContentType()
781 type = ctype + ";charset=" + characterEncoding; in setContentType()
785 type = type + ";charset=" + characterEncoding; in setContentType()
[all …]
/dports/www/unit-perl/unit-1.26.1/src/java/nginx/unit/
H A DResponse.java40 private String characterEncoding = defaultCharacterEncoding; field in Response
575 return characterEncoding; in getCharacterEncoding()
707 characterEncoding = defaultCharacterEncoding; in setCharacterEncoding()
710 && !characterEncoding.equalsIgnoreCase(charset)) in setCharacterEncoding()
716 characterEncoding = charset; in setCharacterEncoding()
720 String type = contentType + ";charset=" + characterEncoding; in setCharacterEncoding()
777 && !characterEncoding.equalsIgnoreCase(charset)) in setContentType()
780 charset = characterEncoding; in setContentType()
781 type = ctype + ";charset=" + characterEncoding; in setContentType()
785 type = type + ";charset=" + characterEncoding; in setContentType()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web/src/main/java/org/springframework/web/filter/
H A DShallowEtagHeaderFilter.java182 String characterEncoding = getCharacterEncoding(); in getWriter() local
183 this.writer = (characterEncoding != null ? new ResponsePrintWriter(characterEncoding) : in getWriter()
223 private ResponsePrintWriter(String characterEncoding) throws UnsupportedEncodingException { in ResponsePrintWriter() argument
224 super(new OutputStreamWriter(content, characterEncoding)); in ResponsePrintWriter()
/dports/www/grails/grails-1.3.6/src/test/org/codehaus/groovy/grails/web/mapping/
H A DDefaultUrlCreatorTests.groovy11 webRequest.currentRequest.characterEncoding = "utf-8"
26 webRequest.currentRequest.characterEncoding = null
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/view/jasperreports/
H A DAbstractJasperReportsViewTests.java243 String characterEncoding = "UTF-8"; in ignoreTestOverrideExporterParameters() local
247 parameters.put(JRExporterParameter.CHARACTER_ENCODING, characterEncoding); in ignoreTestOverrideExporterParameters()
390 String characterEncoding = "UTF-8"; in testWithCharacterEncoding() local
393 parameters.put(JRExporterParameter.CHARACTER_ENCODING, characterEncoding); in testWithCharacterEncoding()
399 assertEquals(characterEncoding, this.response.getCharacterEncoding()); in testWithCharacterEncoding()
/dports/www/grails/grails-1.3.6/src/java/org/codehaus/groovy/grails/plugins/codecs/
H A DURLCodec.groovy40 if (request?.characterEncoding) {
41 encoding = request?.characterEncoding

12345