Package com.netscape.cmscore.connector
Class HttpConnector
java.lang.Object
com.netscape.certsrv.connector.Connector
com.netscape.cmscore.connector.HttpConnector
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected ConnectorConfig
static org.slf4j.Logger
protected HttpConnection
protected RemoteAuthority
protected ISocketFactory
protected String
protected int
-
Constructor Summary
ConstructorsConstructorDescriptionHttpConnector
(String nickName, String clientCiphers, RemoteAuthority dest, int resendInterval, ConnectorConfig config) HttpConnector
(String nickName, String clientCiphers, RemoteAuthority dest, int resendInterval, ConnectorConfig config, int timeout) -
Method Summary
Methods inherited from class com.netscape.certsrv.connector.Connector
getCMSEngine, setCMSEngine
-
Field Details
-
logger
public static org.slf4j.Logger logger -
nickname
-
clientCiphers
-
mDest
-
resendInterval
protected int resendInterval -
config
-
mFactory
-
mConn
-
-
Constructor Details
-
HttpConnector
public HttpConnector(String nickName, String clientCiphers, RemoteAuthority dest, int resendInterval, ConnectorConfig config) throws EBaseException - Throws:
EBaseException
-
HttpConnector
public HttpConnector(String nickName, String clientCiphers, RemoteAuthority dest, int resendInterval, ConnectorConfig config, int timeout) throws EBaseException - Throws:
EBaseException
-
-
Method Details
-
init
- Overrides:
init
in classConnector
- Throws:
EBaseException
-
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.
-