本文整理了Java中org.eclipse.jetty.server.Request.extractFormParameters
方法的一些代码示例,展示了Request.extractFormParameters
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.extractFormParameters
方法的具体详情如下:
包路径:org.eclipse.jetty.server.Request
类名称:Request
方法名:extractFormParameters
暂无
代码示例来源:origin: org.eclipse.jetty/jetty-security
base_request.extractFormParameters(formParameters);
session.setAttribute(__J_POST, formParameters);
代码示例来源:origin: org.keycloak/keycloak-jetty94-adapter
protected MultiMap<String> extractFormParameters(Request base_request) {
MultiMap<String> formParameters = new MultiMap<String>();
base_request.extractFormParameters(formParameters);
return formParameters;
}
protected void restoreFormParameters(MultiMap<String> j_post, Request base_request) {
代码示例来源:origin: org.keycloak/keycloak-jetty92-adapter
protected MultiMap<String> extractFormParameters(Request base_request) {
MultiMap<String> formParameters = new MultiMap<String>();
base_request.extractFormParameters(formParameters);
return formParameters;
}
protected void restoreFormParameters(MultiMap<String> j_post, Request base_request) {
代码示例来源:origin: org.keycloak/keycloak-saml-jetty92-adapter
protected MultiMap<String> extractFormParameters(Request base_request) {
MultiMap<String> formParameters = new MultiMap<String>();
base_request.extractFormParameters(formParameters);
return formParameters;
}
protected void restoreFormParameters(MultiMap<String> j_post, Request base_request) {
代码示例来源:origin: org.keycloak/spring-boot-container-bundle
protected MultiMap<String> extractFormParameters(Request base_request) {
MultiMap<String> formParameters = new MultiMap<String>();
base_request.extractFormParameters(formParameters);
return formParameters;
}
protected void restoreFormParameters(MultiMap<String> j_post, Request base_request) {
代码示例来源:origin: org.keycloak/keycloak-saml-jetty93-adapter
protected MultiMap<String> extractFormParameters(Request base_request) {
MultiMap<String> formParameters = new MultiMap<String>();
base_request.extractFormParameters(formParameters);
return formParameters;
}
protected void restoreFormParameters(MultiMap<String> j_post, Request base_request) {
代码示例来源:origin: org.keycloak/keycloak-saml-jetty94-adapter
protected MultiMap<String> extractFormParameters(Request base_request) {
MultiMap<String> formParameters = new MultiMap<String>();
base_request.extractFormParameters(formParameters);
return formParameters;
}
protected void restoreFormParameters(MultiMap<String> j_post, Request base_request) {
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jetty.server
private void extractContentParameters()
{
String contentType = getContentType();
if (contentType == null || contentType.isEmpty())
_contentParameters=NO_PARAMS;
else
{
_contentParameters=new MultiMap<>();
contentType = HttpFields.valueParameters(contentType, null);
int contentLength = getContentLength();
if (contentLength != 0)
{
if (MimeTypes.Type.FORM_ENCODED.is(contentType) && _inputState == __NONE &&
_channel.getHttpConfiguration().isFormEncodedMethod(getMethod()))
{
extractFormParameters(_contentParameters);
}
else if (contentType.startsWith("multipart/form-data") &&
getAttribute(__MULTIPART_CONFIG_ELEMENT) != null &&
_multiPartInputStream == null)
{
extractMultipartParameters(_contentParameters);
}
}
}
}
代码示例来源:origin: jenkinsci/winstone
base_request.extractFormParameters(formParameters);
session.setAttribute(__J_POST, formParameters);
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jetty.security
base_request.extractFormParameters(formParameters);
session.setAttribute(__J_POST, formParameters);
代码示例来源:origin: Nextdoor/bender
private MultiMap<String> extractContentParameters()
{
MultiMap<String> result = new MultiMap<>();
String contentType = getContentType();
if (contentType != null && !contentType.isEmpty())
{
contentType = HttpFields.valueParameters(contentType, null);
int contentLength = getContentLength();
if (contentLength != 0)
{
if (MimeTypes.Type.FORM_ENCODED.is(contentType) && _inputState == __NONE &&
(HttpMethod.POST.is(getMethod()) || HttpMethod.PUT.is(getMethod())))
{
extractFormParameters(result);
}
else if (contentType.startsWith("multipart/form-data") &&
getAttribute(__MULTIPART_CONFIG_ELEMENT) != null &&
_multiPartInputStream == null)
{
extractMultipartParameters(result);
}
}
}
return result;
}
代码示例来源:origin: Nextdoor/bender
base_request.extractFormParameters(formParameters);
session.setAttribute(__J_POST, formParameters);
代码示例来源:origin: jenkinsci/winstone
_channel.getHttpConfiguration().isFormEncodedMethod(getMethod()))
extractFormParameters(_contentParameters);
内容来源于网络,如有侵权,请联系作者删除!