Code example for HttpRequest

Methods: getParams

                                           HttpRequest request,
                                           HttpContext context)
        throws HttpException { 
        if (target == null) {
            target = (HttpHost) request.getParams().getParameter(
        if (target == null) {
            throw new IllegalStateException("Target host must not be null, or set in parameters.");
        return this.routePlanner.determineRoute(target, request, context);
     * Establishes the target route. 
     * @param route     the route to establish 
Stop searching for code, let great code find you!  Add Codota to your java IDE