BaseAgentPrinter.java
2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* org.apache.sling.api.resource.ValueMap
*/
package com.day.cq.replication.impl.inventory;
import com.day.cq.replication.impl.inventory.AbstractAgentPrinter;
import java.io.PrintWriter;
import org.apache.sling.api.resource.ValueMap;
class BaseAgentPrinter
extends AbstractAgentPrinter {
BaseAgentPrinter() {
}
@Override
public void print(String id, ValueMap valueMap, PrintWriter target) {
super.print(id, valueMap, target);
target.println();
target.println("== Transport ==");
this.replicatingTarget(valueMap, target);
this.printStringProperty(valueMap, "transportNTLMDomain", "NTLM Domain", target);
this.printStringProperty(valueMap, "transportNTLMHost", "NTLM Host", target);
this.printFlag(valueMap, "protocolHTTPSRelaxed", "Enable to accept self-certified SSL certificates.", target);
this.printFlag(valueMap, "protocolHTTPExpired", "Enable to accept expired SSL certificates.", target);
target.println();
target.println("== Proxy ==");
this.printStringProperty(valueMap, "proxyHost", "Host", target);
this.printStringProperty(valueMap, "proxyPort", "Port", target);
this.printStringProperty(valueMap, "proxyUser", "User", target);
this.printStringProperty(valueMap, "proxyNTLMDomain", "NTLM Domain ", target);
this.printStringProperty(valueMap, "proxyNTLMHost", "NTLM Host", target);
target.println();
target.println("== Extended ==");
this.printStringProperty(valueMap, "protocolInterface", "Interface", target);
this.printStringProperty(valueMap, "protocolHTTPMethod", "Method", target);
this.printStringProperty(valueMap, "protocolHTTPHeaders", "Headers", target);
this.printFlag(valueMap, "protocolHTTPConnectionClose", "Enable to close connection after each request", target);
this.printStringProperty(valueMap, "protocolConnectTimeout", "Connect Timeout", target);
this.printStringProperty(valueMap, "protocolSocketTimeout", "Socket Timeout", target);
this.printStringProperty(valueMap, "protocolVersion", "Protocol Version", target);
}
}