public class

SimplePayloadDecoder

extends Object
java.lang.Object
   ↳ com.google.gwt.rpc.server.SimplePayloadDecoder

Class Overview

Decodes the simple payload.

Summary

Public Constructors
SimplePayloadDecoder(ClientOracle clientOracle, CharSequence payload)
Construct a new SimplePayloadDecoder.
Public Methods
ValueCommand getThrownValue()
Returns the thrown value, if any.
List<ValueCommand> getValues()
Returns the values encoded in the payload.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SimplePayloadDecoder (ClientOracle clientOracle, CharSequence payload)

Construct a new SimplePayloadDecoder. This will consume the entire payload which will be made available through getValues(). If the payload stream contains an embedded exception, processing will end early and the Throwable will be available via getThrownValue().

Public Methods

public ValueCommand getThrownValue ()

Returns the thrown value, if any.

public List<ValueCommand> getValues ()

Returns the values encoded in the payload.