Class ExecutionOptions<R>


  • public class ExecutionOptions<R>
    extends Object
    HTTP Execution Options
    Author:
    Jeremy Unruh
    • Method Detail

      • getParser

        public com.google.common.base.Function<HttpResponse,​R> getParser()
        Returns:
        the result function parser or null
      • hasParser

        public boolean hasParser()
        Returns:
        true if a result parser is associated with these options
      • propagate

        public void propagate​(HttpResponse response)
        If a PropagateResponse is associated with these options then it will be invoked otherwise a no-op
        Parameters:
        response - the HttpResponse