Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
This commit is contained in:
commit
4bc0316091
|
@ -419,6 +419,7 @@ public class UpgradeHttpServletRequest implements HttpServletRequest
|
||||||
{
|
{
|
||||||
if (request == null)
|
if (request == null)
|
||||||
attributes.put(name, value);
|
attributes.put(name, value);
|
||||||
|
else
|
||||||
request.setAttribute(name, value);
|
request.setAttribute(name, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -427,6 +428,7 @@ public class UpgradeHttpServletRequest implements HttpServletRequest
|
||||||
{
|
{
|
||||||
if (request == null)
|
if (request == null)
|
||||||
attributes.remove(name);
|
attributes.remove(name);
|
||||||
|
else
|
||||||
request.removeAttribute(name);
|
request.removeAttribute(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue