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 VOMSProtocolListener
private VOMSRequestFactory
private TransformerFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LegacyRequestSender
instance
(VOMSProtocolListener listener) void
sendRequest
(VOMSACRequest acRequest, VOMSServerInfo endpoint, OutputStream stream) This method is used to send a request to a VOMS server.protected String
xmlDocAsString
(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
- theVOMSServerInfo
endpoint to use for this requeststream
- an output stream.
-