Class SetBaseUrlProcessor

java.lang.Object
org.eblocker.server.icap.transaction.processor.SetBaseUrlProcessor
All Implemented Interfaces:
TransactionProcessor

public class SetBaseUrlProcessor extends Object implements TransactionProcessor
This processor sets the base URL (eBlocker's own URL) of the transaction, according to the transaction's target URL. The base URL is different for HTTP and HTTPS target URLs.
  • Constructor Details

    • SetBaseUrlProcessor

      @Inject public SetBaseUrlProcessor(BaseURLs baseUrls)
  • Method Details

    • process

      public boolean process(Transaction transaction)
      Description copied from interface: TransactionProcessor
      Returns false, if processing should be interrupted here.

      All other results have to be stored in the transaction object.

      Specified by:
      process in interface TransactionProcessor
      Returns: