public class VOMSProtocol
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
VOMSResponse |
getResponse(java.io.InputStream stream)
This method is used to parse a VOMS response from an input stream.
|
static VOMSProtocol |
instance() |
void |
sendRequest(VOMSRequestOptions requestOptions,
java.io.OutputStream stream)
This method is used to send a request to a VOMS server.
|
protected java.lang.String |
xmlDocAsString(org.w3c.dom.Document doc) |
public static VOMSProtocol instance()
protected java.lang.String xmlDocAsString(org.w3c.dom.Document doc)
public void sendRequest(VOMSRequestOptions requestOptions, java.io.OutputStream stream)
requestOptions
- the request options. See VOMSRequestOptions
.stream
- an output stream.public VOMSResponse getResponse(java.io.InputStream stream)
stream
- the input stream from which the response will be parsed.VOMSResponse
object.Copyright © 2013. All Rights Reserved.