Package org.jgroups.protocols
Class SWIFT_PING.ConnBuilder
- java.lang.Object
-
- org.jgroups.protocols.SWIFT_PING.ConnBuilder
-
- Enclosing class:
- SWIFT_PING
private static class SWIFT_PING.ConnBuilder extends java.lang.ObjectBuild HttpURLConnections with adequate headers and method
-
-
Field Summary
Fields Modifier and Type Field Description private java.net.HttpURLConnectioncon
-
Constructor Summary
Constructors Constructor Description ConnBuilder(java.net.URL url)ConnBuilder(SWIFT_PING.Credentials credentials, java.lang.String container, java.lang.String object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SWIFT_PING.ConnBuilderaddHeader(java.lang.String key, java.lang.String value)java.net.HttpURLConnectiongetConnection()SWIFT_PING.ConnBuildermethod(java.lang.String method)
-
-
-
Constructor Detail
-
ConnBuilder
public ConnBuilder(java.net.URL url) throws java.io.IOException- Throws:
java.io.IOException
-
ConnBuilder
public ConnBuilder(SWIFT_PING.Credentials credentials, java.lang.String container, java.lang.String object) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
method
public SWIFT_PING.ConnBuilder method(java.lang.String method) throws java.net.ProtocolException
- Throws:
java.net.ProtocolException
-
addHeader
public SWIFT_PING.ConnBuilder addHeader(java.lang.String key, java.lang.String value)
-
getConnection
public java.net.HttpURLConnection getConnection()
-
-