https://bz.apache.org/bugzilla/show_bug.cgi?id=61681
Bug ID: 61681
Summary: UnsupportedOperationException in
ApplicationPushBuilder if request is forwarded
Product: Tomcat 9
Version: 9.0.1
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
Created attachment 35473
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35473&action=edit
maven example application with README.md
If the request is forwarded, it is not possible to create a
ApplicationPushBuilder via the request object. I attached an example maven
application which could be deployed to Tomcat 9.0.1 with enabled HTTP/2
support.
Stack:
```
java.lang.UnsupportedOperationException: Unable to find the underlying Coyote
request object (which is required to create a push request) from the request of
type [org.apache.catalina.connector.RequestFacade]
org.example.PushFilter.doFilter(PushFilter.java:26)
org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
```
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]