Class AbstractVCSGisServertHandler
java.lang.Object
org.gvsig.vcsgis.lib.server.handlers.AbstractVCSGisServertHandler
- All Implemented Interfaces:
VCSGisServerHandler
- Direct Known Subclasses:
AuthenticateHandler,CheckoutHandler,CommitHandler,DescribeFeatureHandler,EntitiesHandler,GetCapabilitiesHandler,GetFeatureHandler,HistoryHandler,ListWCHandler,LogHandler,PrepareWCHandler,RevisionChangesHandler,RowCreateHandler,RowDeleteHandler,RowIsOutofdateHandler,RowUpdateHandler,TopologyPlansHandler,UpdateHandler,UsersHandler
- Author:
- gvSIG Team
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRequestFromInputStream(Map<String, String> params, InputStream request_contents) voidcreateResponseToWriter(VCSGisRequest request, Writer out) getName()voidhandle(Writer console, Map<String, String> params, InputStream request_contents, Writer response_contents) protected voidprotected voidprotected abstract voidrequestProducer(org.apache.commons.lang3.mutable.MutableObject<VCSGisRequest> req, Map<String, String> params, Reader request_contents) protected voidresponseErrorProducer(VCSGisRequest req, Writer response_contents) protected abstract voidresponseProducer(VCSGisRequest req, Writer response_contents) protected voidprotected void
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
AbstractVCSGisServertHandler
-
-
Method Details
-
getContentType
- Specified by:
getContentTypein interfaceVCSGisServerHandler
-
getRepository
-
getName
-
waitRequestProducer
- Throws:
InterruptedException
-
notifyRequestConsumers
protected void notifyRequestConsumers() -
waitResponseProducer
- Throws:
InterruptedException
-
notifyResponseConsumers
protected void notifyResponseConsumers() -
createResponseToWriter
public void createResponseToWriter(VCSGisRequest request, Writer out) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
createRequestFromInputStream
public VCSGisRequest createRequestFromInputStream(Map<String, String> params, InputStream request_contents) throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
handle
public void handle(Writer console, Map<String, String> params, InputStream request_contents, Writer response_contents) - Specified by:
handlein interfaceVCSGisServerHandler
-
responseProducer
protected abstract void responseProducer(VCSGisRequest req, Writer response_contents) throws IOException - Throws:
IOException
-
requestProducer
protected abstract void requestProducer(org.apache.commons.lang3.mutable.MutableObject<VCSGisRequest> req, Map<String, String> params, Reader request_contents) throws IOException- Throws:
IOException
-
responseErrorProducer
protected void responseErrorProducer(VCSGisRequest req, Writer response_contents) throws IOException - Throws:
IOException
-