public class ArachniRestClientBuilder extends Object
ArachniRestClient implementation. Use the #create(String)
method like in this example:
ArachniClient arachniClient = ArachniRestClientBuilder
.create("http://127.0.0.1:8080")
.build();
| Modifier and Type | Method and Description |
|---|---|
ArachniRestClientBuilder |
addCredentials(String username,
String password)
Here you can set username and password if the Arachni REST API is secured with Basic Authentication.
|
ArachniClient |
build()
Returns a instance of
ArachniRestClient. |
static ArachniRestClientBuilder |
create(String arachniRestUrl)
Returns an instance of this class.
|
public static ArachniRestClientBuilder create(String arachniRestUrl)
arachniRestUrl - The URL of the Arachni REST ServerArachniClientException - If the URL is malformed.public final ArachniRestClientBuilder addCredentials(String username, String password)
username - Usernamepassword - Passwordpublic final ArachniClient build()
ArachniRestClient.ArachniRestClient.Copyright © 2017. All rights reserved.