anon.infoservice
Interface ImmutableProxyInterface

All Superinterfaces:
ImmutableListenerInterface, IXMLEncodable
All Known Implementing Classes:
ProxyInterface

public interface ImmutableProxyInterface
extends ImmutableListenerInterface, IXMLEncodable

Objects of this type only contain immutable methods.

Author:
Rolf Wendolsky

Field Summary
 
Fields inherited from interface anon.infoservice.ImmutableListenerInterface
PROTOCOL_STR_TYPE_HTTP, PROTOCOL_STR_TYPE_HTTPS, PROTOCOL_STR_TYPE_RAW_TCP, PROTOCOL_STR_TYPE_RAW_UNIX, PROTOCOL_STR_TYPE_SOCKS, PROTOCOL_STR_TYPE_UNKNOWN, PROTOCOL_TYPE_HTTP, PROTOCOL_TYPE_HTTPS, PROTOCOL_TYPE_RAW_TCP, PROTOCOL_TYPE_RAW_UNIX, PROTOCOL_TYPE_SOCKS, PROTOCOL_TYPE_UNKNOWN
 
Fields inherited from interface anon.util.IXMLEncodable
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION
 
Method Summary
 java.lang.String getAuthenticationPassword()
          Gets the authentication password of this interface.
 java.lang.String getAuthenticationUserID()
          Gets the authentication user ID of this interface.
 HTTPClient.NVPair getProxyAuthorizationHeader()
          Get the authorization header with the current user id and password.
 java.lang.String getProxyAuthorizationHeaderAsString()
          Gets the authorization header with the current user id and password as a String.
 boolean isAuthenticationUsed()
          Gets if the authentication strings are used.
 
Methods inherited from interface anon.infoservice.ImmutableListenerInterface
getHost, getPort, getProtocol, isValid
 
Methods inherited from interface anon.util.IXMLEncodable
toXmlElement
 

Method Detail

isAuthenticationUsed

boolean isAuthenticationUsed()
Gets if the authentication strings are used.

Returns:
true if the authentication strings are used; false otherwise

getAuthenticationPassword

java.lang.String getAuthenticationPassword()
Gets the authentication password of this interface.

Returns:
the authentication password of this interface

getAuthenticationUserID

java.lang.String getAuthenticationUserID()
Gets the authentication user ID of this interface.

Returns:
the authentication user ID of this interface

getProxyAuthorizationHeaderAsString

java.lang.String getProxyAuthorizationHeaderAsString()
Gets the authorization header with the current user id and password as a String.

Returns:
the authorization header with the current user id and password as a String

getProxyAuthorizationHeader

HTTPClient.NVPair getProxyAuthorizationHeader()
Get the authorization header with the current user id and password.

Returns:
the authorization header with the current user id and password