Class HttpConnector
java.lang.Object
com.netscape.cmscore.connector.HttpConnector
- All Implemented Interfaces:
IConnector
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.slf4j.Loggerprotected IHttpConnectionprotected IRemoteAuthorityprotected ISocketFactoryprotected IAuthority -
Constructor Summary
ConstructorsConstructorDescriptionHttpConnector(IAuthority source, String nickName, String clientCiphers, IRemoteAuthority dest, int resendInterval, IConfigStore config) HttpConnector(IAuthority source, String nickName, String clientCiphers, IRemoteAuthority dest, int resendInterval, IConfigStore config, int timeout) -
Method Summary
-
Field Details
-
logger
public static org.slf4j.Logger logger -
mSource
-
mDest
-
mFactory
-
mConn
-
-
Constructor Details
-
HttpConnector
public HttpConnector(IAuthority source, String nickName, String clientCiphers, IRemoteAuthority dest, int resendInterval, IConfigStore config) throws EBaseException - Throws:
EBaseException
-
HttpConnector
public HttpConnector(IAuthority source, String nickName, String clientCiphers, IRemoteAuthority dest, int resendInterval, IConfigStore config, int timeout) throws EBaseException - Throws:
EBaseException
-
-
Method Details
-
send
Description copied from interface:IConnectorSends the request to a remote authority.- Specified by:
sendin interfaceIConnector- Parameters:
op- operation to determine receiving servlet (multi-uri support)msg- Request to be forwarded to remote authority.- Returns:
- HttpResponse to be parsed by client
- Throws:
EBaseException- Failure to send request to remote authority.
-
send
Description copied from interface:IConnectorSends the request to a remote authority.- Specified by:
sendin interfaceIConnector- Parameters:
r- Request to be forwarded to remote authority.- Returns:
- true for success, otherwise false.
- Throws:
EBaseException- Failure to send request to remote authority.
-
start
public void start()Description copied from interface:IConnectorStarts this connector.- Specified by:
startin interfaceIConnector
-
stop
public void stop()Description copied from interface:IConnectorStop the connector.- Specified by:
stopin interfaceIConnector
-