|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.axis.components.net.DefaultSocketFactory
public class DefaultSocketFactory
Default socket factory.
Field Summary | |
---|---|
protected HashMap |
options
options |
Constructor Summary | |
---|---|
DefaultSocketFactory(HashMap options)
Constructor is used only by subclasses. |
Method Summary | |
---|---|
Socket |
create(String host,
int port,
StringBuffer otherHeaders,
BooleanHolder useFullURL)
Creates a socket. |
protected boolean |
isHostInNonProxyList(String host,
String nonProxyHosts)
Check if the specified host is in the list of non proxy hosts. |
protected static boolean |
match(String pattern,
String str,
boolean isCaseSensitive)
Matches a string against a pattern. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected HashMap options
Constructor Detail |
---|
public DefaultSocketFactory(HashMap options)
attributes
- Method Detail |
---|
public Socket create(String host, int port, StringBuffer otherHeaders, BooleanHolder useFullURL) throws Exception
create
in interface SocketFactory
host
- port
- otherHeaders
- useFullURL
-
Exception
protected boolean isHostInNonProxyList(String host, String nonProxyHosts)
host
- host namenonProxyHosts
- string containing the list of non proxy hosts
protected static boolean match(String pattern, String str, boolean isCaseSensitive)
pattern
- the (non-null) pattern to match againststr
- the (non-null) string that must be matched against the
patternisCaseSensitive
-
true
when the string matches against the pattern,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |