public class WSTrustRSTWriter extends Object
RequestSecurityToken
, write into an OutputStream
Constructor and Description |
---|
WSTrustRSTWriter(OutputStream out)
Creates a
WSTrustRSTWriter that writes RequestSecurityToken instances to the specified
OutputStream . |
WSTrustRSTWriter(Result result)
Creates a
WSTrustRSTWriter that writes RequestSecurityToken instances to the specified Result . |
WSTrustRSTWriter(XMLStreamWriter writer)
Creates a
WSTrustRSTWriter that uses the specified XMLStreamWriter to write the request objects. |
Modifier and Type | Method and Description |
---|---|
void |
write(RequestSecurityToken requestToken)
Write the
RequestSecurityToken into the OutputStream |
void |
write(RequestSecurityTokenCollection requestTokenCollection)
Write the
RequestSecurityTokenCollection into the OutputStream |
public WSTrustRSTWriter(OutputStream out) throws ProcessingException
Creates a WSTrustRSTWriter
that writes RequestSecurityToken
instances to the specified
OutputStream
.
out
- the stream where the request is to be written.ProcessingException
- if an error occurs while processing the request.public WSTrustRSTWriter(Result result) throws ProcessingException
Creates a WSTrustRSTWriter
that writes RequestSecurityToken
instances to the specified Result
.
result
- the Result
where the request it to be written.ProcessingException
- if an error occurs while processing the request.public WSTrustRSTWriter(XMLStreamWriter writer)
Creates a WSTrustRSTWriter
that uses the specified XMLStreamWriter
to write the request objects.
writer
- the XMLStreamWriter
to be used to write requests.public void write(RequestSecurityTokenCollection requestTokenCollection) throws ProcessingException
RequestSecurityTokenCollection
into the OutputStream
requestTokenCollection
- out
- ProcessingException
public void write(RequestSecurityToken requestToken) throws ProcessingException
RequestSecurityToken
into the OutputStream
requestToken
- out
- ProcessingException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.