org.apache.archiva.proxy.common
Class WagonFactoryRequest

java.lang.Object
  extended by org.apache.archiva.proxy.common.WagonFactoryRequest

public class WagonFactoryRequest
extends Object

Since:
1.4-M4
Author:
Olivier Lamy

Field Summary
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.
private  String userAgent
           
 
Constructor Summary
WagonFactoryRequest()
           
WagonFactoryRequest(String protocol, Map<String,String> headers)
           
 
Method Summary
 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)
           
 WagonFactoryRequest userAgent(String userAgent)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

protocol

private String protocol
the protocol to find the Wagon for, which must be prefixed with wagon#, for example wagon#http. to have a wagon supporting ntlm add -ntlm


headers

private Map<String,String> headers

userAgent

private String userAgent

networkProxy

private NetworkProxy networkProxy
Constructor Detail

WagonFactoryRequest

public WagonFactoryRequest()

WagonFactoryRequest

public WagonFactoryRequest(String protocol,
                           Map<String,String> headers)
Method Detail

getProtocol

public String getProtocol()

setProtocol

public void setProtocol(String protocol)

protocol

public WagonFactoryRequest protocol(String protocol)

getHeaders

public Map<String,String> getHeaders()

setHeaders

public void setHeaders(Map<String,String> headers)

headers

public WagonFactoryRequest headers(Map<String,String> headers)

getUserAgent

public String getUserAgent()

setUserAgent

public void setUserAgent(String userAgent)

userAgent

public WagonFactoryRequest userAgent(String userAgent)

getNetworkProxy

public NetworkProxy getNetworkProxy()

setNetworkProxy

public void setNetworkProxy(NetworkProxy networkProxy)

networkProxy

public WagonFactoryRequest networkProxy(NetworkProxy networkProxy)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.