Package com.netscape.cmscore.connector
Class HttpConnector
java.lang.Object
com.netscape.certsrv.connector.Connector
com.netscape.cmscore.connector.HttpConnector
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.slf4j.Loggerprotected HttpConnectionprotected RemoteAuthorityprotected ISocketFactory -
Constructor Summary
ConstructorsConstructorDescriptionHttpConnector(String nickName, String clientCiphers, RemoteAuthority dest, int resendInterval, ConfigStore config) HttpConnector(String nickName, String clientCiphers, RemoteAuthority dest, int resendInterval, ConfigStore config, int timeout) -
Method Summary
-
Field Details
-
logger
public static org.slf4j.Logger logger -
mDest
-
mFactory
-
mConn
-
-
Constructor Details
-
HttpConnector
public HttpConnector(String nickName, String clientCiphers, RemoteAuthority dest, int resendInterval, ConfigStore config) throws EBaseException - Throws:
EBaseException
-
HttpConnector
public HttpConnector(String nickName, String clientCiphers, RemoteAuthority dest, int resendInterval, ConfigStore config, int timeout) throws EBaseException - Throws:
EBaseException
-
-
Method Details
-
send
Description copied from class:ConnectorSends the request to a remote authority.- Overrides:
sendin classConnector- 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 class:ConnectorSends the request to a remote authority.- Overrides:
sendin classConnector- 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 class:ConnectorStarts this connector. -
stop
public void stop()Description copied from class:ConnectorStop the connector.
-