Hello,
I try to embed an OData engine within an ElasticSearch REST plugin. To do
that, I need to know if it's possible and how to handle the following
things:
- Attach a REST action that handles several paths and HTTP methods using a
pattern like /odata.svc/*:
public class ODataRestAction extends BaseRestHandler {
@Inject
public ODataRestAction(Settings settings, Client client,
RestController controller) {
super(settings, client);
controller.registerHandler(Method.GET, "/odata.svc/*", this);
}
(...)
}
For information, I described a possible solution here:
https://github.com/elasticsearch/elasticsearch/issues/5191.
- Obtain an output stream of the current response in order to directly
write the whole response content in it.
Thanks very much for your help!
Thierry
--
Best,
Thierry
Thierry Templier, Lead Architect
ttemplier@restlet.com
Restlet SAS, 6 rue Rose Dieng-Kuntz • 44300 Nantes • France
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL73BC3SVeprps7hZSGzrjuCdE%2BWis7RoDckZ4O_v9smDhPUfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.