public class WSTrustRequestWriter extends Object
RequestSecurityToken
, write into an OutputStream
Constructor and Description |
---|
WSTrustRequestWriter(OutputStream out)
Creates a
WSTrustRequestWriter that writes RequestSecurityToken instances to the specified
OutputStream . |
WSTrustRequestWriter(Result result)
Creates a
WSTrustRequestWriter that writes RequestSecurityToken instances to the specified Result
. |
WSTrustRequestWriter(XMLStreamWriter writer)
Creates a
WSTrustRequestWriter 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 WSTrustRequestWriter(OutputStream out) throws ProcessingException
Creates a WSTrustRequestWriter
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 WSTrustRequestWriter(Result result) throws ProcessingException
Creates a WSTrustRequestWriter
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 WSTrustRequestWriter(XMLStreamWriter writer)
Creates a WSTrustRequestWriter
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 © 2017 JBoss by Red Hat. All rights reserved.