Package org.jumpmind.symmetric.web
Class PullUriHandler
java.lang.Object
org.jumpmind.symmetric.web.AbstractUriHandler
org.jumpmind.symmetric.web.AbstractCompressionUriHandler
org.jumpmind.symmetric.web.PullUriHandler
- All Implemented Interfaces:
IUriHandler
Handles data pulls from other nodes.
-
Field Summary
Fields inherited from class org.jumpmind.symmetric.web.AbstractUriHandler
log, parameterService
-
Constructor Summary
ConstructorsConstructorDescriptionPullUriHandler
(IParameterService parameterService, INodeService nodeService, IConfigurationService configurationService, IDataExtractorService dataExtractorService, IRegistrationService registrationService, IStatisticManager statisticManager, IOutgoingBatchService outgoingBatchService, IInterceptor... interceptors) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
handlePull
(String nodeId, String remoteHost, String remoteAddress, OutputStream outputStream, String encoding, jakarta.servlet.http.HttpServletResponse res, ChannelMap map) void
handleWithCompression
(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) Methods inherited from class org.jumpmind.symmetric.web.AbstractCompressionUriHandler
handle
Methods inherited from class org.jumpmind.symmetric.web.AbstractUriHandler
createInputStream, createOutgoingTransport, createOutgoingTransport, getInterceptors, getUriPattern, isEnabled, setEnabled, setInterceptors, setParameterService, setUriPattern
-
Constructor Details
-
PullUriHandler
public PullUriHandler(IParameterService parameterService, INodeService nodeService, IConfigurationService configurationService, IDataExtractorService dataExtractorService, IRegistrationService registrationService, IStatisticManager statisticManager, IOutgoingBatchService outgoingBatchService, IInterceptor... interceptors)
-
-
Method Details
-
handleWithCompression
public void handleWithCompression(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException, jakarta.servlet.ServletException - Specified by:
handleWithCompression
in classAbstractCompressionUriHandler
- Throws:
IOException
jakarta.servlet.ServletException
-
handlePull
protected void handlePull(String nodeId, String remoteHost, String remoteAddress, OutputStream outputStream, String encoding, jakarta.servlet.http.HttpServletResponse res, ChannelMap map) throws IOException - Throws:
IOException
-