|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovyx.net.ws.cxf.AbstractSettingHelper
groovyx.net.ws.cxf.ConnectionTimeoutHelper
public class ConnectionTimeoutHelper
Helper class to set the connection timeout for a request.
| Field Summary |
|---|
| Fields inherited from class groovyx.net.ws.cxf.AbstractSettingHelper |
|---|
properties |
| Constructor Summary | |
|---|---|
ConnectionTimeoutHelper()
|
|
| Method Summary | |
|---|---|
protected void |
configureClientParameters(org.apache.cxf.endpoint.Client client)
Sets the user and the password for the proxy authorization. |
void |
setConnectionTimeout(long timeout)
Sets the value of the connectionTimeout property. |
protected void |
setDefaultProperties()
Sets the default timeout value to 0 which means forever |
| Methods inherited from class groovyx.net.ws.cxf.AbstractSettingHelper |
|---|
enable, initialize, isConfigured, setProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionTimeoutHelper()
| Method Detail |
|---|
protected void setDefaultProperties()
0 which means forever
setDefaultProperties in class AbstractSettingHelperpublic void setConnectionTimeout(long timeout)
timeout - value of the timeout in millisecondsprotected void configureClientParameters(org.apache.cxf.endpoint.Client client)
configureClientParameters in class AbstractSettingHelperclient - The client to configure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||