Class CaptivePortalCheckProcessor
java.lang.Object
org.eblocker.server.icap.transaction.processor.CaptivePortalCheckProcessor
- All Implemented Interfaces:
TransactionProcessor
Responds to captive portal check URLs if the feature "GoogleCaptivePortalRedirector" is enabled.
If the feature is not enabled and the transaction is a response, stop further processing, so the
eBlocker icon is not injected into the HTML. This avoids triggering the client's
captive portal check service (e.g. on iOS 18.4 and later).
-
Constructor Summary
ConstructorsConstructorDescriptionCaptivePortalCheckProcessor(FeatureServiceSubscriber featureService, boolean simulateCaptivePortal) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(Transaction transaction) Returns false, if processing should be interrupted here.
-
Constructor Details
-
CaptivePortalCheckProcessor
@Inject public CaptivePortalCheckProcessor(FeatureServiceSubscriber featureService, boolean simulateCaptivePortal)
-
-
Method Details
-
process
Description copied from interface:TransactionProcessorReturns false, if processing should be interrupted here.All other results have to be stored in the transaction object.
- Specified by:
processin interfaceTransactionProcessor- Returns:
-