Class LegacyRequestSender
java.lang.Object
org.italiangrid.voms.request.impl.LegacyRequestSender
This class manages the client-side communication protocol with the VOMS
server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate VOMSProtocolListenerprivate VOMSRequestFactoryprivate TransformerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LegacyRequestSenderinstance(VOMSProtocolListener listener) voidsendRequest(VOMSACRequest acRequest, VOMSServerInfo endpoint, OutputStream stream) This method is used to send a request to a VOMS server.protected StringxmlDocAsString(Document doc)
-
Field Details
-
requestFactory
-
transformerFactory
-
listener
-
-
Constructor Details
-
LegacyRequestSender
-
-
Method Details
-
instance
-
xmlDocAsString
-
sendRequest
This method is used to send a request to a VOMS server.- Parameters:
acRequest- the AC request parameters. SeeVOMSACRequest.endpoint- theVOMSServerInfoendpoint to use for this requeststream- an output stream.
-