01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.geoserver.wfs.kvp;
06:
07: import org.geoserver.ows.KvpRequestReader;
08: import java.util.Map;
09:
10: public class ReleaseLockKvpRequestReader extends KvpRequestReader {
11: public ReleaseLockKvpRequestReader() {
12: super (String.class);
13: }
14:
15: public Object createRequest() throws Exception {
16: return new String();
17: }
18:
19: public Object read(Object request, Map kvp, Map rawKvp)
20: throws Exception {
21: return kvp.get("lockId");
22: }
23: }
|