Class ProxyTask


  • public abstract class ProxyTask
    extends java.lang.Object
    Proxy task, this task could be one of many task into the some http proxy instance.
    Author:
    javaito
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyTask()  
    • Method Summary

      Modifier and Type Method Description
      abstract HttpResponse execute​(HttpRequest request)
      This method execute the task.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProxyTask

        public ProxyTask()
    • Method Detail

      • execute

        public abstract HttpResponse execute​(HttpRequest request)
        This method execute the task.
        Parameters:
        request - Incoming request.
        Returns:
        Http response.