Package burp
Interface IHttpService
-
public interface IHttpServiceThis interface is used to provide details about an HTTP service, to which HTTP requests can be sent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHost()This method returns the hostname or IP address for the service.intgetPort()This method returns the port number for the service.java.lang.StringgetProtocol()This method returns the protocol for the service.
-
-
-
Method Detail
-
getHost
java.lang.String getHost()
This method returns the hostname or IP address for the service.- Returns:
- The hostname or IP address for the service.
-
getPort
int getPort()
This method returns the port number for the service.- Returns:
- The port number for the service.
-
getProtocol
java.lang.String getProtocol()
This method returns the protocol for the service.- Returns:
- The protocol for the service. Expected values are "http" or "https".
-
-