public class WagonFactoryRequest extends Object
Modifier and Type | Field and Description |
---|---|
private static String |
DEFAULT_USER_AGENT |
private Map<String,String> |
headers |
private NetworkProxy |
networkProxy |
private String |
protocol
the protocol to find the Wagon for, which must be prefixed with
wagon# , for example
wagon#http . |
static String |
USER_AGENT_SYSTEM_PROPERTY |
private String |
userAgent |
Constructor and Description |
---|
WagonFactoryRequest() |
WagonFactoryRequest(String protocol,
Map<String,String> headers) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Map<String,String> |
getHeaders() |
NetworkProxy |
getNetworkProxy() |
String |
getProtocol() |
String |
getUserAgent() |
int |
hashCode() |
WagonFactoryRequest |
headers(Map<String,String> headers) |
WagonFactoryRequest |
networkProxy(NetworkProxy networkProxy) |
WagonFactoryRequest |
protocol(String protocol) |
void |
setHeaders(Map<String,String> headers) |
void |
setNetworkProxy(NetworkProxy networkProxy) |
void |
setProtocol(String protocol) |
void |
setUserAgent(String userAgent) |
String |
toString() |
WagonFactoryRequest |
userAgent(String userAgent) |
public static final String USER_AGENT_SYSTEM_PROPERTY
private static String DEFAULT_USER_AGENT
private String protocol
wagon#
, for example
wagon#http
. to have a wagon supporting ntlm add -ntlmprivate NetworkProxy networkProxy
public WagonFactoryRequest()
public WagonFactoryRequest(String protocol, Map<String,String> headers)
public String getProtocol()
public void setProtocol(String protocol)
public WagonFactoryRequest protocol(String protocol)
public Map<String,String> getHeaders()
public void setHeaders(Map<String,String> headers)
public WagonFactoryRequest headers(Map<String,String> headers)
public String getUserAgent()
public void setUserAgent(String userAgent)
public WagonFactoryRequest userAgent(String userAgent)
public NetworkProxy getNetworkProxy()
public void setNetworkProxy(NetworkProxy networkProxy)
public WagonFactoryRequest networkProxy(NetworkProxy networkProxy)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.