Title: Inject EBean as Rest interceptors · Issue #661 · androidannotations/androidannotations · GitHub
Open Graph Title: Inject EBean as Rest interceptors · Issue #661 · androidannotations/androidannotations
X Title: Inject EBean as Rest interceptors · Issue #661 · androidannotations/androidannotations
Description: The parameter interceptors of the annotation @Rest is useful to modify requests with runtime parameters. And some of these parameters can be stored in SharedPreferences or other location which needs the Context. So, the interceptor usual...
Open Graph Description: The parameter interceptors of the annotation @Rest is useful to modify requests with runtime parameters. And some of these parameters can be stored in SharedPreferences or other location which need...
X Description: The parameter interceptors of the annotation @Rest is useful to modify requests with runtime parameters. And some of these parameters can be stored in SharedPreferences or other location which need...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/661
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inject EBean as Rest interceptors","articleBody":"The parameter `interceptors` of the annotation `@Rest` is useful to modify requests with runtime parameters. And some of these parameters can be stored in `SharedPreferences` or other location which needs the `Context`. So, the interceptor usually need to have access to the `Context`.\n\nOne way to automatically pass the `Context` to the interceptor would be to annotate it with `@EBean`. Then, AA should detect if the class in the parameter `interceptors` of the annotation `@Rest` has the annotation `@EBean` and if so, AA should instantiate the generated subclass and put it in the list of interceptors.\n\nWhat do you think ?\n","author":{"url":"https://github.com/yDelouis","@type":"Person","name":"yDelouis"},"datePublished":"2013-07-15T14:42:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/661/androidannotations/issues/661"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:103cc7ab-9b36-4560-f86c-bba42670a0d0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A254:17AA0D:5D353E:8402C6:6A6240F2 |
| html-safe-nonce | 8735ce90a796de9a6fb3cdf79e5d49afcccbb5bd293fcb636ba790b062054f95 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjU0OjE3QUEwRDo1RDM1M0U6ODQwMkM2OjZBNjI0MEYyIiwidmlzaXRvcl9pZCI6IjU1NDk5NDIzMjc3NjU3Nzg2NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c3328102138c20c19e00d235f5a40cb3fee0ad310eacc2a32e69c7d1e0ee5199 |
| hovercard-subject-tag | issue:16757536 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/androidannotations/androidannotations/661/issue_layout |
| twitter:image | https://opengraph.githubassets.com/090e7f484f41450914a878a260f560aa323a446317bf69a80b998c31b612d080/androidannotations/androidannotations/issues/661 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/090e7f484f41450914a878a260f560aa323a446317bf69a80b998c31b612d080/androidannotations/androidannotations/issues/661 |
| og:image:alt | The parameter interceptors of the annotation @Rest is useful to modify requests with runtime parameters. And some of these parameters can be stored in SharedPreferences or other location which need... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yDelouis |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5d6ba65d73ecc4e3394fe318d2b2f98e6f8eed4878b5421b938e20d30bde267b |
| turbo-cache-control | no-preview |
| go-import | github.com/androidannotations/androidannotations git https://github.com/androidannotations/androidannotations.git |
| octolytics-dimension-user_id | 1315313 |
| octolytics-dimension-user_login | androidannotations |
| octolytics-dimension-repository_id | 3116751 |
| octolytics-dimension-repository_nwo | androidannotations/androidannotations |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3116751 |
| octolytics-dimension-repository_network_root_nwo | androidannotations/androidannotations |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2dadc56fd5989b76a8ae7304e3aa56d0b485e5dc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width