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.Logger
protected HttpConnection
protected RemoteAuthority
protected 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:Connector
Sends the request to a remote authority.- Overrides:
send
in 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:Connector
Sends the request to a remote authority.- Overrides:
send
in 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:Connector
Starts this connector. -
stop
public void stop()Description copied from class:Connector
Stop the connector.
-