Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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()` Gets the payload 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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

For additional information on the IDK, including tutorials, blogs, code samples and more, see the AquaLogic User Interaction Developer Center on BEA dev2dev.

Copyright ©2007 BEA Systems, Inc. All Rights Reserved.