commit | 8a12e095674770f06c2f00c6425a4d36839b335b | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Mon Jun 05 17:05:22 2017 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon Jun 05 19:30:24 2017 +0900 |
tree | 1778e85981f1b59bef956d3c2163b94a57463e2a | |
parent | 1b4f0a1c3da518d0a53645a088d7308fba6fa674 [diff] |
Factor common code out of Index*RestApiServlet classes Introduce AbstractIndexRestApiServlet which provides the Id lock map, methods to operate on it, and the error reporting method. Move code for parsing the Id and performing the index into abstract methods implemented in the subclasses. Change-Id: Ic72ed4f12f0e5ecc32d804e1efafb3f0e32d59e9