stephen mallette created TINKERPOP-2249:
-------------------------------------------

             Summary: Improve RequestOption passing
                 Key: TINKERPOP-2249
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2249
             Project: TinkerPop
          Issue Type: Improvement
          Components: driver, server
    Affects Versions: 3.4.2
            Reporter: stephen mallette


{{RequestOptions}} provides a way to set certain control arguments to send to 
the server like a per-request timeout or batch size. For bytecode traversals, 
these are set somewhat statically and selectively by way of {{with()}} which 
are then gathered by {{DriverRemoteConnection}} into a {{RequestOptions}} 
object and then sent to the server on the request - it's basically leading to a 
giant switch statement as new special options are being added.

Perhaps we should also consider a "request headers" space on the 
{{RequestMessage}} rather than just throwing all these options in at the "args" 
level.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to