com.bea.alui.proxy
Interface IPayload

All Known Subinterfaces:
IXMLPayload

public interface IPayload

Represents the payload of a request that is sent to a proxied resource. A payload is often formatted as XML but a payload may also be represented with another serialization format such as plain text, JSON, or YAML.


Method Summary
 IXMLPayload getAsXML()
          Convenience method that attempts to convert this IPayload into an IXMLPayload.
 byte[] getText()
          Get the payload's text as a byte array.
 

Method Detail

getText

public byte[] getText()
Get the payload's text as a byte array.

Returns:
the payload text
Throws:
PayloadProcessingException

getAsXML

public IXMLPayload getAsXML()
Convenience method that attempts to convert this IPayload into an IXMLPayload.

Returns:
IXMLPayLoad


For additional information on the Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2010 Oracle® Corporation. All Rights Reserved.