本文整理了Java中javax.servlet.http.HttpServletRequestWrapper.setCharacterEncoding()
方法的一些代码示例,展示了HttpServletRequestWrapper.setCharacterEncoding()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpServletRequestWrapper.setCharacterEncoding()
方法的具体详情如下:
包路径:javax.servlet.http.HttpServletRequestWrapper
类名称:HttpServletRequestWrapper
方法名:setCharacterEncoding
暂无
代码示例来源:origin: cloudfoundry/uaa
@Override
public void setCharacterEncoding(String enc) throws UnsupportedEncodingException {
super.setCharacterEncoding(enc);
}
代码示例来源:origin: com.atlassian.jira/jira-core
@Override
public void setCharacterEncoding(final String encoding) throws UnsupportedEncodingException
{
super.setCharacterEncoding(encoding);
}
代码示例来源:origin: com.github.wuic/wuic-servlet
/**
* {@inheritDoc}
*/
@Override
public void setCharacterEncoding(final String enc) throws UnsupportedEncodingException {
// Synchronized access
synchronized (mutex) {
super.setCharacterEncoding(enc);
}
}
代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service
/**
* @see javax.servlet.ServletRequestWrapper#setCharacterEncoding(java.lang.String)
*/
@Override
public void setCharacterEncoding(String enc) throws UnsupportedEncodingException
{
try
{
super.setCharacterEncoding(enc);
}
catch (UnsupportedEncodingException uex)
{
// TODO
// SUN OpenPortal Portlet Container 2.0_01 BUG which only allows setting an encoding as
// provided by underlying request (then: what's the use?)
// and throws UnsupportedEncodingException even when that one == null :(
// ... so, ignoring for now
}
}
代码示例来源:origin: org.wicketstuff/wicketstuff-portlet
/**
* @see javax.servlet.ServletRequestWrapper#setCharacterEncoding(java.lang.String)
*/
@Override
public void setCharacterEncoding(final String enc) throws UnsupportedEncodingException {
try {
super.setCharacterEncoding(enc);
}
catch (final UnsupportedEncodingException uex) {
// TODO
// SUN OpenPortal Portlet Container 2.0_01 BUG which only allows
// setting an encoding as
// provided by underlying request (then: what's the use?)
// and throws UnsupportedEncodingException even when that one ==
// null :(
// ... so, ignoring for now
}
}
}
代码示例来源:origin: org.jasig.portal/uPortal-rendering
@Override
public void setCharacterEncoding(String enc) throws UnsupportedEncodingException {
this.checkState();
super.setCharacterEncoding(enc);
}
代码示例来源:origin: Jasig/uPortal
@Override
public void setCharacterEncoding(String enc) throws UnsupportedEncodingException {
this.checkState();
super.setCharacterEncoding(enc);
}
代码示例来源:origin: org.apache.wink/wink-server
@Override
public void setCharacterEncoding(String enc) throws UnsupportedEncodingException {
getCorrectRequest().setCharacterEncoding(enc);
}
内容来源于网络,如有侵权,请联系作者删除!