Class HttpConnection
java.lang.Object
com.netscape.cmscore.connector.HttpConnection
- All Implemented Interfaces:
IHttpConnection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IRemoteAuthorityprotected HttpClientprotected HttpRequestprotected IRequestEncoder -
Constructor Summary
ConstructorsConstructorDescriptionHttpConnection(IRemoteAuthority dest, ISocketFactory factory) HttpConnection(IRemoteAuthority dest, ISocketFactory factory, int timeout) -
Method Summary
Modifier and TypeMethodDescriptionGets the HttpRequest URIsend(IPKIMessage tomsg) sends a request to remote RA/CA, returning the result.sends a request to a remote authority, returning the result.voidsetRequestURI(String uri) Sets the HttpRequest URI before send
-
Field Details
-
mDest
-
mHttpreq
-
mReqEncoder
-
mHttpClient
-
-
Constructor Details
-
HttpConnection
-
HttpConnection
-
-
Method Details
-
setRequestURI
Description copied from interface:IHttpConnectionSets the HttpRequest URI before send- Specified by:
setRequestURIin interfaceIHttpConnection- Parameters:
uri- the uri for the HttpRequest- Throws:
EBaseException
-
getRequestURI
Description copied from interface:IHttpConnectionGets the HttpRequest URI- Specified by:
getRequestURIin interfaceIHttpConnection
-
send
sends a request to remote RA/CA, returning the result.- Specified by:
sendin interfaceIHttpConnection- Parameters:
tomsg- Message to forward to authority.- Throws:
EBaseException- if request could not be encoded
-
send
sends a request to a remote authority, returning the result.- Specified by:
sendin interfaceIHttpConnection- Parameters:
content- Message to forward to authority.- Returns:
- HttpResponse response to be parsed by the client
- Throws:
EBaseException- for any failure
-