All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.katalon.platform.api.controller.RequestController Maven / Gradle / Ivy

There is a newer version: 1.0.21
Show newest version
package com.katalon.platform.api.controller;

import java.io.IOException;
import java.net.URISyntaxException;
import java.security.GeneralSecurityException;

import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpUriRequest;

public interface RequestController extends Controller {

    /**
     * Send a HTTP request to the target server.
     * 
     * @param request The HTTP request to send.
     * @return the response from the server.
     * 
     * @since 1.16.0
     */
    public HttpResponse send(HttpUriRequest request) throws URISyntaxException, IOException, GeneralSecurityException;

    /**
     * Send a HTTP request to the target server.
     * 
     * @param request The HTTP request to send.
     * @return the response from the server.
     * 
     * @since 1.16.0
     */
    public HttpResponse sendWithProxy(HttpUriRequest request)
            throws URISyntaxException, IOException, GeneralSecurityException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy