[
https://issues.apache.org/jira/browse/SLING-10871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17432796#comment-17432796
]
Carsten Ziegeler commented on SLING-10871:
------------------------------------------
[~empire29] Yes, passing these to the dispatcher should work and I think is the
way to go.
Now, these request/response objects should work exactly as the ones from Slings
servlet helpers - so whatever you needed to do there, applies here as well.
Regarding bindings, these are set by the script engine, so when you call
include() on the dispatcher these should be set
> Add builder API for request/resource objects
> --------------------------------------------
>
> Key: SLING-10871
> URL: https://issues.apache.org/jira/browse/SLING-10871
> Project: Sling
> Issue Type: New Feature
> Components: API
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: API 2.24.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> As discussed in SLING-10840 and in [1] we should a builder api for Sling http
> servlet request/response objects which do not have a real request/response
> as a backing
> [1]
> https://lists.apache.org/thread.html/r7c66bcfb66b30f801f6e3a17d42b437cfeca7f233d240d965f471dfd%40%3Cdev.sling.apache.org%3E
--
This message was sent by Atlassian Jira
(v8.3.4#803005)