javax.servlet.http.HttpServletRequestWrapper.getParts()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.0k)|赞(0)|评价(0)|浏览(265)

本文整理了Java中javax.servlet.http.HttpServletRequestWrapper.getParts()方法的一些代码示例,展示了HttpServletRequestWrapper.getParts()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpServletRequestWrapper.getParts()方法的具体详情如下:
包路径:javax.servlet.http.HttpServletRequestWrapper
类名称:HttpServletRequestWrapper
方法名:getParts

HttpServletRequestWrapper.getParts介绍

[英]The default behavior of this method is to call getParts on the wrapped request object.

Any changes to the returned Collection must not affect this HttpServletRequestWrapper.
[中]此方法的默认行为是对包装的请求对象调用getParts。
对返回的Collection的任何更改不得影响此HttpServletRequestWrapper

代码示例

代码示例来源:origin: cloudfoundry/uaa

@Override
public Collection<Part> getParts() throws IOException, ServletException {
  return super.getParts();
}

代码示例来源:origin: com.github.wuic/wuic-servlet

/**
 * {@inheritDoc}
 */
@Override
public Collection<Part> getParts() throws IOException, ServletException {
  // Synchronized access
  synchronized (mutex) {
    return super.getParts();
  }
}

相关文章

HttpServletRequestWrapper类方法