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 voidhandlePull(String nodeId, String remoteHost, String remoteAddress, OutputStream outputStream, String encoding, jakarta.servlet.http.HttpServletResponse res, ChannelMap map) voidhandleWithCompression(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) Methods inherited from class org.jumpmind.symmetric.web.AbstractCompressionUriHandler
handleMethods 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:
handleWithCompressionin classAbstractCompressionUriHandler- Throws:
IOExceptionjakarta.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
-