com.caucho.hessian.test
Class TestHessian2Servlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by com.caucho.hessian.server.HessianServlet
          extended by com.caucho.hessian.test.TestHessian2Servlet
All Implemented Interfaces:
TestHessian2, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class TestHessian2Servlet
extends HessianServlet
implements TestHessian2

The test service is a Hessian 2.0 protocol test for developers of Hessian 2.0 clients. For a new client the recommended order is:

See Also:
Serialized Form

Field Summary
private  java.lang.ThreadLocal<java.io.CharArrayWriter> _threadWriter
           
 
Constructor Summary
TestHessian2Servlet()
           
 
Method Summary
 java.lang.Object argBinary_0(java.lang.Object v)
          A zero-length binary
 java.lang.Object argBinary_1(java.lang.Object v)
          A one-length string
 java.lang.Object argBinary_1023(java.lang.Object v)
          A 1023-length binary
 java.lang.Object argBinary_1024(java.lang.Object v)
          A 1024-length binary
 java.lang.Object argBinary_15(java.lang.Object v)
          A 15-length binary
 java.lang.Object argBinary_16(java.lang.Object v)
          A 16-length binary
 java.lang.Object argBinary_65536(java.lang.Object v)
          A 65536-length binary
 java.lang.Object argDate_0(java.lang.Object v)
          date 0 (01-01-1970 00:00 GMT)
 java.lang.Object argDate_1(java.lang.Object v)
          Date by millisecond (05-08-1998 07:51 GMT)
 java.lang.Object argDate_2(java.lang.Object v)
          Date by minute (05-08-1998 07:51 GMT)
 java.lang.Object argDouble_0_0(java.lang.Object v)
          double 0.0
 java.lang.Object argDouble_0_001(java.lang.Object v)
          double 0.001
 java.lang.Object argDouble_1_0(java.lang.Object v)
          double 1.0
 java.lang.Object argDouble_127_0(java.lang.Object v)
          double 127.0
 java.lang.Object argDouble_128_0(java.lang.Object v)
          double 128.0
 java.lang.Object argDouble_2_0(java.lang.Object v)
          double 2.0
 java.lang.Object argDouble_3_14159(java.lang.Object v)
          Result of double 3.14159
 java.lang.Object argDouble_32767_0(java.lang.Object v)
          double 32767.0
 java.lang.Object argDouble_65_536(java.lang.Object v)
          double 65.536
 java.lang.Object argDouble_m0_001(java.lang.Object v)
          double -0.001
 java.lang.Object argDouble_m128_0(java.lang.Object v)
          double -128.0
 java.lang.Object argDouble_m129_0(java.lang.Object v)
          double -129.0
 java.lang.Object argDouble_m32768_0(java.lang.Object v)
          Double -32768.0
 java.lang.Object argFalse(java.lang.Object v)
          Boolean false
 java.lang.Object argInt_0(java.lang.Object v)
          Integer 0
 java.lang.Object argInt_0x30(java.lang.Object v)
          Integer 0x30
 java.lang.Object argInt_0x3ffff(java.lang.Object v)
          Integer 0x3ffff
 java.lang.Object argInt_0x40000(java.lang.Object v)
          integer 0x40000
 java.lang.Object argInt_0x7ff(java.lang.Object v)
          Result of integer x7ff
 java.lang.Object argInt_0x7fffffff(java.lang.Object v)
          Integer 0x7fffffff
 java.lang.Object argInt_0x800(java.lang.Object v)
          Integer 0x800
 java.lang.Object argInt_1(java.lang.Object v)
          Integer 1
 java.lang.Object argInt_47(java.lang.Object v)
          integer 47
 java.lang.Object argInt_m0x40000(java.lang.Object v)
          Integer m0x40000
 java.lang.Object argInt_m0x40001(java.lang.Object v)
          Integer m0x40001
 java.lang.Object argInt_m0x800(java.lang.Object v)
          Integer -0x800
 java.lang.Object argInt_m0x80000000(java.lang.Object v)
          Result of integer -0x80000000
 java.lang.Object argInt_m0x801(java.lang.Object v)
          Integer -0x801
 java.lang.Object argInt_m16(java.lang.Object v)
          Result of integer -16
 java.lang.Object argInt_m17(java.lang.Object v)
          integer -17
 java.lang.Object argLong_0(java.lang.Object v)
          long 0
 java.lang.Object argLong_0x10(java.lang.Object v)
          long 0x10
 java.lang.Object argLong_0x3ffff(java.lang.Object v)
          long 0x3ffff
 java.lang.Object argLong_0x40000(java.lang.Object v)
          long 0x40000
 java.lang.Object argLong_0x7ff(java.lang.Object v)
          long x7ff
 java.lang.Object argLong_0x7fffffff(java.lang.Object v)
          long 0x7fffffff
 java.lang.Object argLong_0x800(java.lang.Object v)
          long 0x800
 java.lang.Object argLong_0x80000000(java.lang.Object v)
          Result of long 0x80000000
 java.lang.Object argLong_1(java.lang.Object v)
          long 1
 java.lang.Object argLong_15(java.lang.Object v)
          long 15
 java.lang.Object argLong_m0x40000(java.lang.Object v)
          long m0x40000
 java.lang.Object argLong_m0x40001(java.lang.Object v)
          long m0x40001
 java.lang.Object argLong_m0x800(java.lang.Object v)
          long -0x800
 java.lang.Object argLong_m0x80000000(java.lang.Object v)
          long -0x80000000
 java.lang.Object argLong_m0x80000001(java.lang.Object v)
          Result of long -0x80000001
 java.lang.Object argLong_m0x801(java.lang.Object v)
          long -0x801
 java.lang.Object argLong_m8(java.lang.Object v)
          long -8
 java.lang.Object argLong_m9(java.lang.Object v)
          long -9
 java.lang.Object argNull(java.lang.Object v)
          Null
 java.lang.Object argObject_0(java.lang.Object v)
          Returns a single object
 java.lang.Object argObject_1(java.lang.Object v)
          Simple object with one field
 java.lang.Object argObject_16(java.lang.Object v)
          Returns 16 object types
 java.lang.Object argObject_2(java.lang.Object v)
          Simple two objects with one field
 java.lang.Object argObject_2a(java.lang.Object v)
          Simple repeated object
 java.lang.Object argObject_2b(java.lang.Object v)
          Two object with equals
 java.lang.Object argObject_3(java.lang.Object v)
          Circular object
 java.lang.Object argString_0(java.lang.Object v)
          A zero-length string
 java.lang.Object argString_1(java.lang.Object v)
          A one-length string
 java.lang.Object argString_1023(java.lang.Object v)
          A 1023-length string
 java.lang.Object argString_1024(java.lang.Object v)
          A 1024-length string
 java.lang.Object argString_31(java.lang.Object v)
          A 31-length string
 java.lang.Object argString_32(java.lang.Object v)
          A 32-length string
 java.lang.Object argString_65536(java.lang.Object v)
          A 65536-length string
 java.lang.Object argTrue(java.lang.Object v)
          Boolean true
 java.lang.Object argTypedFixedList_0(java.lang.Object v)
          Zero-length typed list (String array)
 java.lang.Object argTypedFixedList_1(java.lang.Object v)
          1-length typed list (String array)
 java.lang.Object argTypedFixedList_7(java.lang.Object v)
          7-length typed list (String array)
 java.lang.Object argTypedFixedList_8(java.lang.Object v)
          8-length typed list (String array)
 java.lang.Object argTypedMap_0(java.lang.Object v)
          zero-length typed map
 java.lang.Object argTypedMap_1(java.lang.Object v)
          untyped map with string key
 java.lang.Object argTypedMap_2(java.lang.Object v)
          typed map with int key
 java.lang.Object argTypedMap_3(java.lang.Object v)
          typed map with list key
 java.lang.Object argUntypedFixedList_0(java.lang.Object v)
          Zero-length untyped list
 java.lang.Object argUntypedFixedList_1(java.lang.Object v)
          1-length untyped list
 java.lang.Object argUntypedFixedList_7(java.lang.Object v)
          7-length untyped list
 java.lang.Object argUntypedFixedList_8(java.lang.Object v)
          8-length untyped list
 java.lang.Object argUntypedMap_0(java.lang.Object v)
          zero-length untyped map
 java.lang.Object argUntypedMap_1(java.lang.Object v)
          untyped map with string key
 java.lang.Object argUntypedMap_2(java.lang.Object v)
          untyped map with int key
 java.lang.Object argUntypedMap_3(java.lang.Object v)
          untyped map with list key
private  boolean equals(byte[] a, java.lang.Object obj)
           
private  boolean equals(java.lang.String[] a, java.lang.String[] b)
           
protected  java.lang.String getInputDebug()
           
 void invoke(java.io.InputStream is, java.io.OutputStream os, java.lang.String objectId, SerializerFactory serializerFactory)
          Invoke the object with the request from the input stream.
 void methodNull()
          trivial null method call
 java.lang.Object replyBinary_0()
          A zero-length binary
 java.lang.Object replyBinary_1()
          A one-length string
 java.lang.Object replyBinary_1023()
          A 1023-length binary
 java.lang.Object replyBinary_1024()
          A 1024-length binary
 java.lang.Object replyBinary_15()
          A 15-length binary
 java.lang.Object replyBinary_16()
          A 16-length binary
 java.lang.Object replyBinary_65536()
          A 65536-length binary
 java.lang.Object replyBinary_null()
          A null string
 java.lang.Object replyDate_0()
          date 0 (01-01-1970 00:00 GMT)
 java.lang.Object replyDate_1()
          Date by millisecond (05-08-1998 07:51:31.000 GMT)
 java.lang.Object replyDate_2()
          Date by minute (05-08-1998 07:51:00.000 GMT)
 double replyDouble_0_0()
          Result of double 0.0
 double replyDouble_0_001()
          Result of double 0.001
 double replyDouble_1_0()
          Result of double 1.0
 double replyDouble_127_0()
          Result of double 127.0
 double replyDouble_128_0()
          Result of double 128.0
 double replyDouble_2_0()
          Result of double 2.0
 double replyDouble_3_14159()
          Result of double 3.14159
 double replyDouble_32767_0()
          Result of double 32767.0
 double replyDouble_65_536()
          Result of double 65.536
 double replyDouble_m0_001()
          Result of double -0.001
 double replyDouble_m128_0()
          Result of double -128.0
 double replyDouble_m129_0()
          Result of double -129.0
 double replyDouble_m32768_0()
          Result of double -32768.0
 java.lang.Object replyFalse()
          Boolean false
 int replyInt_0()
          Result of integer 0
 int replyInt_0x30()
          Result of integer 0x30
 int replyInt_0x3ffff()
          Result of integer 0x3ffff
 int replyInt_0x40000()
          Result of integer 0x40000
 int replyInt_0x7ff()
          Result of integer x7ff
 int replyInt_0x7fffffff()
          Result of integer 0x7fffffff
 int replyInt_0x800()
          Result of integer 0x800
 int replyInt_1()
          Result of integer 1
 int replyInt_47()
          Result of integer 47
 int replyInt_m0x40000()
          Result of integer m0x40000
 int replyInt_m0x40001()
          Result of integer m0x40001
 int replyInt_m0x800()
          Result of integer -0x800
 int replyInt_m0x80000000()
          Result of integer -0x80000000
 int replyInt_m0x801()
          Result of integer -0x801
 int replyInt_m16()
          Result of integer -16
 int replyInt_m17()
          Result of integer -17
 long replyLong_0()
          Result of long 0
 long replyLong_0x10()
          Result of long 0x10
 long replyLong_0x3ffff()
          Result of long 0x3ffff
 long replyLong_0x40000()
          Result of long 0x40000
 long replyLong_0x7ff()
          Result of long x7ff
 long replyLong_0x7fffffff()
          Result of long 0x7fffffff
 long replyLong_0x800()
          Result of long 0x800
 long replyLong_0x80000000()
          Result of long 0x80000000
 long replyLong_1()
          Result of long 1
 long replyLong_15()
          Result of long 15
 long replyLong_m0x40000()
          Result of long m0x40000
 long replyLong_m0x40001()
          Result of long m0x40001
 long replyLong_m0x800()
          Result of long -0x800
 long replyLong_m0x80000000()
          Result of long -0x80000000
 long replyLong_m0x80000001()
          Result of long -0x80000001
 long replyLong_m0x801()
          Result of long -0x801
 long replyLong_m8()
          Result of long -8
 long replyLong_m9()
          Result of long -9
 void replyNull()
          Result of null
 java.lang.Object replyObject_0()
          Returns a single object
 java.lang.Object replyObject_1()
          Simple object with one field
 java.lang.Object replyObject_16()
          Returns 16 object types
 java.lang.Object replyObject_2()
          Simple two objects with one field
 java.lang.Object replyObject_2a()
          Simple repeated object
 java.lang.Object replyObject_2b()
          Two object with equals
 java.lang.Object replyObject_3()
          Circular object
 java.lang.String replyString_0()
          A zero-length string
 java.lang.String replyString_1()
          A one-length string
 java.lang.String replyString_1023()
          A 1023-length string
 java.lang.String replyString_1024()
          A 1024-length string
 java.lang.String replyString_31()
          A 31-length string
 java.lang.String replyString_32()
          A 32-length string
 java.lang.String replyString_65536()
          A 65536-length string
 java.lang.String replyString_null()
          A null string
 java.lang.Object replyTrue()
          Boolean true
 java.lang.Object replyTypedFixedList_0()
          Zero-length typed list (String array)
 java.lang.Object replyTypedFixedList_1()
          1-length typed list (String array)
 java.lang.Object replyTypedFixedList_7()
          7-length typed list (String array)
 java.lang.Object replyTypedFixedList_8()
          8-length typed list (String array)
 java.lang.Object replyTypedMap_0()
          zero-length typed map
 java.lang.Object replyTypedMap_1()
          untyped map with string key
 java.lang.Object replyTypedMap_2()
          typed map with int key
 java.lang.Object replyTypedMap_3()
          typed map with list key
 java.lang.Object replyUntypedFixedList_0()
          Zero-length untyped list
 java.lang.Object replyUntypedFixedList_1()
          1-length untyped list
 java.lang.Object replyUntypedFixedList_7()
          7-length untyped list
 java.lang.Object replyUntypedFixedList_8()
          8-length untyped list
 java.lang.Object replyUntypedMap_0()
          zero-length untyped map
 java.lang.Object replyUntypedMap_1()
          untyped map with string key
 java.lang.Object replyUntypedMap_2()
          untyped map with int key
 java.lang.Object replyUntypedMap_3()
          untyped map with list key
private  byte[] toBinary(java.lang.String s)
           
 
Methods inherited from class com.caucho.hessian.server.HessianServlet
createHessian2Input, getAPIClass, getContextClassLoader, getSerializerFactory, getServletInfo, init, service, setAPIClass, setDebug, setHome, setHomeAPI, setLogName, setObject, setObjectAPI, setSendCollectionType, setSerializerFactory, setService
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_threadWriter

private java.lang.ThreadLocal<java.io.CharArrayWriter> _threadWriter
Constructor Detail

TestHessian2Servlet

public TestHessian2Servlet()
Method Detail

methodNull

public void methodNull()
Description copied from interface: TestHessian2
trivial null method call
 H x02 x00
 C
   x0a methodNull
   x90
 
 R N
 

Specified by:
methodNull in interface TestHessian2

replyNull

public void replyNull()
Description copied from interface: TestHessian2
Result of null
 R N
 

Specified by:
replyNull in interface TestHessian2

replyTrue

public java.lang.Object replyTrue()
Description copied from interface: TestHessian2
Boolean true
 T
 

Specified by:
replyTrue in interface TestHessian2

replyFalse

public java.lang.Object replyFalse()
Description copied from interface: TestHessian2
Boolean false
 F
 

Specified by:
replyFalse in interface TestHessian2

replyInt_0

public int replyInt_0()
Description copied from interface: TestHessian2
Result of integer 0
 R x90
 

Specified by:
replyInt_0 in interface TestHessian2

replyInt_1

public int replyInt_1()
Description copied from interface: TestHessian2
Result of integer 1
 R x91
 

Specified by:
replyInt_1 in interface TestHessian2

replyInt_47

public int replyInt_47()
Description copied from interface: TestHessian2
Result of integer 47
 R xbf
 

Specified by:
replyInt_47 in interface TestHessian2

replyInt_m16

public int replyInt_m16()
Description copied from interface: TestHessian2
Result of integer -16
 R x80
 

Specified by:
replyInt_m16 in interface TestHessian2

replyInt_0x30

public int replyInt_0x30()
Description copied from interface: TestHessian2
Result of integer 0x30
 R xc8 x30
 

Specified by:
replyInt_0x30 in interface TestHessian2

replyInt_0x7ff

public int replyInt_0x7ff()
Description copied from interface: TestHessian2
Result of integer x7ff
 R xcf xff
 

Specified by:
replyInt_0x7ff in interface TestHessian2

replyInt_m17

public int replyInt_m17()
Description copied from interface: TestHessian2
Result of integer -17
 R xc7 xef
 

Specified by:
replyInt_m17 in interface TestHessian2

replyInt_m0x800

public int replyInt_m0x800()
Description copied from interface: TestHessian2
Result of integer -0x800
 R xc0 x00
 

Specified by:
replyInt_m0x800 in interface TestHessian2

replyInt_0x800

public int replyInt_0x800()
Description copied from interface: TestHessian2
Result of integer 0x800
 R xd4 x08 x00
 

Specified by:
replyInt_0x800 in interface TestHessian2

replyInt_0x3ffff

public int replyInt_0x3ffff()
Description copied from interface: TestHessian2
Result of integer 0x3ffff
 R xd7 xff xff
 

Specified by:
replyInt_0x3ffff in interface TestHessian2

replyInt_m0x801

public int replyInt_m0x801()
Description copied from interface: TestHessian2
Result of integer -0x801
 R xd3 xf8 x00
 

Specified by:
replyInt_m0x801 in interface TestHessian2

replyInt_m0x40000

public int replyInt_m0x40000()
Description copied from interface: TestHessian2
Result of integer m0x40000
 R xd0 x00 x00
 

Specified by:
replyInt_m0x40000 in interface TestHessian2

replyInt_0x40000

public int replyInt_0x40000()
Description copied from interface: TestHessian2
Result of integer 0x40000
 R I x00 x04 x00 x00
 

Specified by:
replyInt_0x40000 in interface TestHessian2

replyInt_0x7fffffff

public int replyInt_0x7fffffff()
Description copied from interface: TestHessian2
Result of integer 0x7fffffff
 R I x7f xff xff xff
 

Specified by:
replyInt_0x7fffffff in interface TestHessian2

replyInt_m0x40001

public int replyInt_m0x40001()
Description copied from interface: TestHessian2
Result of integer m0x40001
 R I xff xf3 xff xf
 

Specified by:
replyInt_m0x40001 in interface TestHessian2

replyInt_m0x80000000

public int replyInt_m0x80000000()
Description copied from interface: TestHessian2
Result of integer -0x80000000
 R I x80 x00 x00 x00
 

Specified by:
replyInt_m0x80000000 in interface TestHessian2

replyLong_0

public long replyLong_0()
Description copied from interface: TestHessian2
Result of long 0
 R xe0
 

Specified by:
replyLong_0 in interface TestHessian2

replyLong_1

public long replyLong_1()
Description copied from interface: TestHessian2
Result of long 1
 R xe1
 

Specified by:
replyLong_1 in interface TestHessian2

replyLong_15

public long replyLong_15()
Description copied from interface: TestHessian2
Result of long 15
 R xef
 

Specified by:
replyLong_15 in interface TestHessian2

replyLong_m8

public long replyLong_m8()
Description copied from interface: TestHessian2
Result of long -8
 R xd8
 

Specified by:
replyLong_m8 in interface TestHessian2

replyLong_0x10

public long replyLong_0x10()
Description copied from interface: TestHessian2
Result of long 0x10
 R xf8 x10
 

Specified by:
replyLong_0x10 in interface TestHessian2

replyLong_0x7ff

public long replyLong_0x7ff()
Description copied from interface: TestHessian2
Result of long x7ff
 R xff xff
 

Specified by:
replyLong_0x7ff in interface TestHessian2

replyLong_m9

public long replyLong_m9()
Description copied from interface: TestHessian2
Result of long -9
 R xf7 xf7
 

Specified by:
replyLong_m9 in interface TestHessian2

replyLong_m0x800

public long replyLong_m0x800()
Description copied from interface: TestHessian2
Result of long -0x800
 R xf0 x00
 

Specified by:
replyLong_m0x800 in interface TestHessian2

replyLong_0x800

public long replyLong_0x800()
Description copied from interface: TestHessian2
Result of long 0x800
 R x3c x08 x00
 

Specified by:
replyLong_0x800 in interface TestHessian2

replyLong_0x3ffff

public long replyLong_0x3ffff()
Description copied from interface: TestHessian2
Result of long 0x3ffff
 R x3f xff xff
 

Specified by:
replyLong_0x3ffff in interface TestHessian2

replyLong_m0x801

public long replyLong_m0x801()
Description copied from interface: TestHessian2
Result of long -0x801
 R x3b xf7 xff
 

Specified by:
replyLong_m0x801 in interface TestHessian2

replyLong_m0x40000

public long replyLong_m0x40000()
Description copied from interface: TestHessian2
Result of long m0x40000
 R x38 x00 x00
 

Specified by:
replyLong_m0x40000 in interface TestHessian2

replyLong_0x40000

public long replyLong_0x40000()
Description copied from interface: TestHessian2
Result of long 0x40000
 R x59 x00 x04 x00 x00
 

Specified by:
replyLong_0x40000 in interface TestHessian2

replyLong_0x7fffffff

public long replyLong_0x7fffffff()
Description copied from interface: TestHessian2
Result of long 0x7fffffff
 R x59 x7f xff xff xff
 

Specified by:
replyLong_0x7fffffff in interface TestHessian2

replyLong_m0x40001

public long replyLong_m0x40001()
Description copied from interface: TestHessian2
Result of long m0x40001
 R x59 xff xf3 xff xf
 

Specified by:
replyLong_m0x40001 in interface TestHessian2

replyLong_m0x80000000

public long replyLong_m0x80000000()
Description copied from interface: TestHessian2
Result of long -0x80000000
 R x59 x80 x00 x00 x00
 

Specified by:
replyLong_m0x80000000 in interface TestHessian2

replyLong_0x80000000

public long replyLong_0x80000000()
Description copied from interface: TestHessian2
Result of long 0x80000000
 R L x00 x00 x00 x00 x80 x00 x00 x00
 

Specified by:
replyLong_0x80000000 in interface TestHessian2

replyLong_m0x80000001

public long replyLong_m0x80000001()
Description copied from interface: TestHessian2
Result of long -0x80000001
 R L xff xff xff xff x7f xff xff xff
 

Specified by:
replyLong_m0x80000001 in interface TestHessian2

replyDouble_0_0

public double replyDouble_0_0()
Description copied from interface: TestHessian2
Result of double 0.0
 R x5b
 

Specified by:
replyDouble_0_0 in interface TestHessian2

replyDouble_1_0

public double replyDouble_1_0()
Description copied from interface: TestHessian2
Result of double 1.0
 R x5c
 

Specified by:
replyDouble_1_0 in interface TestHessian2

replyDouble_2_0

public double replyDouble_2_0()
Description copied from interface: TestHessian2
Result of double 2.0
 R x5d x02
 

Specified by:
replyDouble_2_0 in interface TestHessian2

replyDouble_127_0

public double replyDouble_127_0()
Description copied from interface: TestHessian2
Result of double 127.0
 R x5d x7f
 

Specified by:
replyDouble_127_0 in interface TestHessian2

replyDouble_m128_0

public double replyDouble_m128_0()
Description copied from interface: TestHessian2
Result of double -128.0
 R x5d x80
 

Specified by:
replyDouble_m128_0 in interface TestHessian2

replyDouble_128_0

public double replyDouble_128_0()
Description copied from interface: TestHessian2
Result of double 128.0
 R x5e x00 x80
 

Specified by:
replyDouble_128_0 in interface TestHessian2

replyDouble_m129_0

public double replyDouble_m129_0()
Description copied from interface: TestHessian2
Result of double -129.0
 R x5e xff x7f
 

Specified by:
replyDouble_m129_0 in interface TestHessian2

replyDouble_32767_0

public double replyDouble_32767_0()
Description copied from interface: TestHessian2
Result of double 32767.0
 R x5e x7f xff
 

Specified by:
replyDouble_32767_0 in interface TestHessian2

replyDouble_m32768_0

public double replyDouble_m32768_0()
Description copied from interface: TestHessian2
Result of double -32768.0
 R x5e x80 x80
 

Specified by:
replyDouble_m32768_0 in interface TestHessian2

replyDouble_0_001

public double replyDouble_0_001()
Description copied from interface: TestHessian2
Result of double 0.001
 R x5f x00 x00 x00 x01
 

Specified by:
replyDouble_0_001 in interface TestHessian2

replyDouble_m0_001

public double replyDouble_m0_001()
Description copied from interface: TestHessian2
Result of double -0.001
 R x5f xff xff xff xff
 

Specified by:
replyDouble_m0_001 in interface TestHessian2

replyDouble_65_536

public double replyDouble_65_536()
Description copied from interface: TestHessian2
Result of double 65.536
 R x5f x00 x01 x00 x00
 

Specified by:
replyDouble_65_536 in interface TestHessian2

replyDouble_3_14159

public double replyDouble_3_14159()
Description copied from interface: TestHessian2
Result of double 3.14159
 D x40 x09 x21 xf9 xf0 x1b x86 x6e
 

Specified by:
replyDouble_3_14159 in interface TestHessian2

replyDate_0

public java.lang.Object replyDate_0()
Description copied from interface: TestHessian2
date 0 (01-01-1970 00:00 GMT)
 x4a x00 x00 x00 x00
 

Specified by:
replyDate_0 in interface TestHessian2

replyDate_1

public java.lang.Object replyDate_1()
Description copied from interface: TestHessian2
Date by millisecond (05-08-1998 07:51:31.000 GMT)
 x4a x00 x00 x00 xd0 x4b x92 x84 xb8
 

Specified by:
replyDate_1 in interface TestHessian2

replyDate_2

public java.lang.Object replyDate_2()
Description copied from interface: TestHessian2
Date by minute (05-08-1998 07:51:00.000 GMT)
 x4b x00 xe3 x83 x8f
 

Specified by:
replyDate_2 in interface TestHessian2

replyString_0

public java.lang.String replyString_0()
Description copied from interface: TestHessian2
A zero-length string
 x00
 

Specified by:
replyString_0 in interface TestHessian2

replyString_null

public java.lang.String replyString_null()
Description copied from interface: TestHessian2
A null string
 N
 

Specified by:
replyString_null in interface TestHessian2

replyString_1

public java.lang.String replyString_1()
Description copied from interface: TestHessian2
A one-length string
 x01 a
 

Specified by:
replyString_1 in interface TestHessian2

replyString_31

public java.lang.String replyString_31()
Description copied from interface: TestHessian2
A 31-length string
 x0f 0123456789012345678901234567890
 

Specified by:
replyString_31 in interface TestHessian2

replyString_32

public java.lang.String replyString_32()
Description copied from interface: TestHessian2
A 32-length string
 x30 x02 01234567890123456789012345678901
 

Specified by:
replyString_32 in interface TestHessian2

replyString_1023

public java.lang.String replyString_1023()
Description copied from interface: TestHessian2
A 1023-length string
 x33 xff 000 01234567890123456789012345678901...
 

Specified by:
replyString_1023 in interface TestHessian2

replyString_1024

public java.lang.String replyString_1024()
Description copied from interface: TestHessian2
A 1024-length string
 S x04 x00 000 01234567890123456789012345678901...
 

Specified by:
replyString_1024 in interface TestHessian2

replyString_65536

public java.lang.String replyString_65536()
Description copied from interface: TestHessian2
A 65536-length string
 R x80 x00 000 ...
 S x04 x00 000 01234567890123456789012345678901...
 

Specified by:
replyString_65536 in interface TestHessian2

replyBinary_0

public java.lang.Object replyBinary_0()
Description copied from interface: TestHessian2
A zero-length binary
 x20
 

Specified by:
replyBinary_0 in interface TestHessian2

replyBinary_null

public java.lang.Object replyBinary_null()
Description copied from interface: TestHessian2
A null string
 N
 

Specified by:
replyBinary_null in interface TestHessian2

replyBinary_1

public java.lang.Object replyBinary_1()
Description copied from interface: TestHessian2
A one-length string
 x01 0
 

Specified by:
replyBinary_1 in interface TestHessian2

replyBinary_15

public java.lang.Object replyBinary_15()
Description copied from interface: TestHessian2
A 15-length binary
 x2f 0123456789012345
 

Specified by:
replyBinary_15 in interface TestHessian2

replyBinary_16

public java.lang.Object replyBinary_16()
Description copied from interface: TestHessian2
A 16-length binary
 x34 x10 01234567890123456789012345678901
 

Specified by:
replyBinary_16 in interface TestHessian2

replyBinary_1023

public java.lang.Object replyBinary_1023()
Description copied from interface: TestHessian2
A 1023-length binary
 x37 xff 000 01234567890123456789012345678901...
 

Specified by:
replyBinary_1023 in interface TestHessian2

replyBinary_1024

public java.lang.Object replyBinary_1024()
Description copied from interface: TestHessian2
A 1024-length binary
 B x04 x00 000 01234567890123456789012345678901...
 

Specified by:
replyBinary_1024 in interface TestHessian2

replyBinary_65536

public java.lang.Object replyBinary_65536()
Description copied from interface: TestHessian2
A 65536-length binary
 A x80 x00 000 ...
 B x04 x00 000 01234567890123456789012345678901...
 

Specified by:
replyBinary_65536 in interface TestHessian2

toBinary

private byte[] toBinary(java.lang.String s)

replyUntypedFixedList_0

public java.lang.Object replyUntypedFixedList_0()
Description copied from interface: TestHessian2
Zero-length untyped list
 x78
 

Specified by:
replyUntypedFixedList_0 in interface TestHessian2

replyUntypedFixedList_1

public java.lang.Object replyUntypedFixedList_1()
Description copied from interface: TestHessian2
1-length untyped list
 x79 x01 1
 

Specified by:
replyUntypedFixedList_1 in interface TestHessian2

replyUntypedFixedList_7

public java.lang.Object replyUntypedFixedList_7()
Description copied from interface: TestHessian2
7-length untyped list
 x7f x01 1 x01 2 x01 3 x01 4 x01 5 x01 6 x01 7
 

Specified by:
replyUntypedFixedList_7 in interface TestHessian2

replyUntypedFixedList_8

public java.lang.Object replyUntypedFixedList_8()
Description copied from interface: TestHessian2
8-length untyped list
 X x98 x01 1 x01 2 x01 3 x01 4 x01 5 x01 6 x01 7 x01 8
 

Specified by:
replyUntypedFixedList_8 in interface TestHessian2

replyTypedFixedList_0

public java.lang.Object replyTypedFixedList_0()
Description copied from interface: TestHessian2
Zero-length typed list (String array)
 x70 x07 [string
 

Specified by:
replyTypedFixedList_0 in interface TestHessian2

replyTypedFixedList_1

public java.lang.Object replyTypedFixedList_1()
Description copied from interface: TestHessian2
1-length typed list (String array)
 x71 x07 [string x01 1
 

Specified by:
replyTypedFixedList_1 in interface TestHessian2

replyTypedFixedList_7

public java.lang.Object replyTypedFixedList_7()
Description copied from interface: TestHessian2
7-length typed list (String array)
 x77 x07 [string x01 1 x01 2 x01 3 x01 4 x01 5 x01 6 x01 7
 

Specified by:
replyTypedFixedList_7 in interface TestHessian2

replyTypedFixedList_8

public java.lang.Object replyTypedFixedList_8()
Description copied from interface: TestHessian2
8-length typed list (String array)
 V x07 [stringx98 x01 1 x01 2 x01 3 x01 4 x01 5 x01 6 x01 7 x01 8
 

Specified by:
replyTypedFixedList_8 in interface TestHessian2

replyUntypedMap_0

public java.lang.Object replyUntypedMap_0()
Description copied from interface: TestHessian2
zero-length untyped map
 H Z
 

Specified by:
replyUntypedMap_0 in interface TestHessian2

replyUntypedMap_1

public java.lang.Object replyUntypedMap_1()
Description copied from interface: TestHessian2
untyped map with string key
 H x01 a x90 Z
 

Specified by:
replyUntypedMap_1 in interface TestHessian2

replyUntypedMap_2

public java.lang.Object replyUntypedMap_2()
Description copied from interface: TestHessian2
untyped map with int key
 H x90 x01 a x91 x01 b Z
 

Specified by:
replyUntypedMap_2 in interface TestHessian2

replyUntypedMap_3

public java.lang.Object replyUntypedMap_3()
Description copied from interface: TestHessian2
untyped map with list key
 H x71 x01 a x90 Z
 

Specified by:
replyUntypedMap_3 in interface TestHessian2

replyTypedMap_0

public java.lang.Object replyTypedMap_0()
Description copied from interface: TestHessian2
zero-length typed map
 M x13 java.lang.Hashtable Z
 

Specified by:
replyTypedMap_0 in interface TestHessian2

replyTypedMap_1

public java.lang.Object replyTypedMap_1()
Description copied from interface: TestHessian2
untyped map with string key
 M x13 java.lang.Hashtable x01 a x90 Z
 

Specified by:
replyTypedMap_1 in interface TestHessian2

replyTypedMap_2

public java.lang.Object replyTypedMap_2()
Description copied from interface: TestHessian2
typed map with int key
 M x13 java.lang.Hashtable x90 x01 a x91 x01 b Z
 

Specified by:
replyTypedMap_2 in interface TestHessian2

replyTypedMap_3

public java.lang.Object replyTypedMap_3()
Description copied from interface: TestHessian2
typed map with list key
 M x13 java.lang.Hashtable x71 x01 a x90 Z
 

Specified by:
replyTypedMap_3 in interface TestHessian2

replyObject_0

public java.lang.Object replyObject_0()
Description copied from interface: TestHessian2
Returns a single object
 C x1a com.caucho.hessian.test.A0 x90 x60
 

Specified by:
replyObject_0 in interface TestHessian2

replyObject_16

public java.lang.Object replyObject_16()
Description copied from interface: TestHessian2
Returns 16 object types
 X xa0
  C x1a com.caucho.hessian.test.A0 x90 x60
  C x1a com.caucho.hessian.test.A1 x90 x61
  C x1a com.caucho.hessian.test.A2 x90 x62
  C x1a com.caucho.hessian.test.A3 x90 x63
  C x1a com.caucho.hessian.test.A4 x90 x64
  C x1a com.caucho.hessian.test.A5 x90 x65
  C x1a com.caucho.hessian.test.A6 x90 x66
  C x1a com.caucho.hessian.test.A7 x90 x67
  C x1a com.caucho.hessian.test.A8 x90 x68
  C x1a com.caucho.hessian.test.A9 x90 x69
  C x1b com.caucho.hessian.test.A10 x90 x6a
  C x1b com.caucho.hessian.test.A11 x90 x6b
  C x1b com.caucho.hessian.test.A12 x90 x6c
  C x1b com.caucho.hessian.test.A13 x90 x6d
  C x1b com.caucho.hessian.test.A14 x90 x6e
  C x1b com.caucho.hessian.test.A15 x90 x6f
  C x1b com.caucho.hessian.test.A16 x90 O xa0

Specified by:
replyObject_16 in interface TestHessian2

replyObject_1

public java.lang.Object replyObject_1()
Description copied from interface: TestHessian2
Simple object with one field
 C x22 com.caucho.hessian.test.TestObject x91 x06 _value x60 x90
 

Specified by:
replyObject_1 in interface TestHessian2

replyObject_2

public java.lang.Object replyObject_2()
Description copied from interface: TestHessian2
Simple two objects with one field
 x7a
   C x22 com.caucho.hessian.test.TestObject x91 x06 _value
   x60 x90
   x60 x91
 

Specified by:
replyObject_2 in interface TestHessian2

replyObject_2a

public java.lang.Object replyObject_2a()
Description copied from interface: TestHessian2
Simple repeated object
 x7a
   C x22 com.caucho.hessian.test.TestObject x91 x06 _value
   x60 x90
   Q x91
 

Specified by:
replyObject_2a in interface TestHessian2

replyObject_2b

public java.lang.Object replyObject_2b()
Description copied from interface: TestHessian2
Two object with equals
 x7a
   C x22 com.caucho.hessian.test.TestObject x91 x06 _value
   x60 x90
   x60 x90
 

Specified by:
replyObject_2b in interface TestHessian2

replyObject_3

public java.lang.Object replyObject_3()
Description copied from interface: TestHessian2
Circular object
 C x20 com.caucho.hessian.test.TestCons x91 x06 _first x05 _rest
   x60 x01 a Q \x90x
 

Specified by:
replyObject_3 in interface TestHessian2

argNull

public java.lang.Object argNull(java.lang.Object v)
Description copied from interface: TestHessian2
Null
 N
 

Specified by:
argNull in interface TestHessian2

argTrue

public java.lang.Object argTrue(java.lang.Object v)
Description copied from interface: TestHessian2
Boolean true
 T
 

Specified by:
argTrue in interface TestHessian2

argFalse

public java.lang.Object argFalse(java.lang.Object v)
Description copied from interface: TestHessian2
Boolean false
 F
 

Specified by:
argFalse in interface TestHessian2

argInt_0

public java.lang.Object argInt_0(java.lang.Object v)
Description copied from interface: TestHessian2
Integer 0
 x90
 

Specified by:
argInt_0 in interface TestHessian2

argInt_1

public java.lang.Object argInt_1(java.lang.Object v)
Description copied from interface: TestHessian2
Integer 1
 x91
 

Specified by:
argInt_1 in interface TestHessian2

argInt_47

public java.lang.Object argInt_47(java.lang.Object v)
Description copied from interface: TestHessian2
integer 47
 xbf
 

Specified by:
argInt_47 in interface TestHessian2

argInt_m16

public java.lang.Object argInt_m16(java.lang.Object v)
Description copied from interface: TestHessian2
Result of integer -16
 R x80
 

Specified by:
argInt_m16 in interface TestHessian2

argInt_0x30

public java.lang.Object argInt_0x30(java.lang.Object v)
Description copied from interface: TestHessian2
Integer 0x30
 xc8 x30
 

Specified by:
argInt_0x30 in interface TestHessian2

argInt_0x7ff

public java.lang.Object argInt_0x7ff(java.lang.Object v)
Description copied from interface: TestHessian2
Result of integer x7ff
 xcf xff
 

Specified by:
argInt_0x7ff in interface TestHessian2

argInt_m17

public java.lang.Object argInt_m17(java.lang.Object v)
Description copied from interface: TestHessian2
integer -17
 xc7 xef
 

Specified by:
argInt_m17 in interface TestHessian2

argInt_m0x800

public java.lang.Object argInt_m0x800(java.lang.Object v)
Description copied from interface: TestHessian2
Integer -0x800
 xc0 x00
 

Specified by:
argInt_m0x800 in interface TestHessian2

argInt_0x800

public java.lang.Object argInt_0x800(java.lang.Object v)
Description copied from interface: TestHessian2
Integer 0x800
 xd4 x08 x00
 

Specified by:
argInt_0x800 in interface TestHessian2

argInt_0x3ffff

public java.lang.Object argInt_0x3ffff(java.lang.Object v)
Description copied from interface: TestHessian2
Integer 0x3ffff
 xd7 xff xff
 

Specified by:
argInt_0x3ffff in interface TestHessian2

argInt_m0x801

public java.lang.Object argInt_m0x801(java.lang.Object v)
Description copied from interface: TestHessian2
Integer -0x801
 xd3 xf8 x00
 

Specified by:
argInt_m0x801 in interface TestHessian2

argInt_m0x40000

public java.lang.Object argInt_m0x40000(java.lang.Object v)
Description copied from interface: TestHessian2
Integer m0x40000
 xd0 x00 x00
 

Specified by:
argInt_m0x40000 in interface TestHessian2

argInt_0x40000

public java.lang.Object argInt_0x40000(java.lang.Object v)
Description copied from interface: TestHessian2
integer 0x40000
 I x00 x04 x00 x00
 

Specified by:
argInt_0x40000 in interface TestHessian2

argInt_0x7fffffff

public java.lang.Object argInt_0x7fffffff(java.lang.Object v)
Description copied from interface: TestHessian2
Integer 0x7fffffff
 I x7f xff xff xff
 

Specified by:
argInt_0x7fffffff in interface TestHessian2

argInt_m0x40001

public java.lang.Object argInt_m0x40001(java.lang.Object v)
Description copied from interface: TestHessian2
Integer m0x40001
 I xff xfb xff xff
 

Specified by:
argInt_m0x40001 in interface TestHessian2

argInt_m0x80000000

public java.lang.Object argInt_m0x80000000(java.lang.Object v)
Description copied from interface: TestHessian2
Result of integer -0x80000000
 I x80 x00 x00 x00
 

Specified by:
argInt_m0x80000000 in interface TestHessian2

argLong_0

public java.lang.Object argLong_0(java.lang.Object v)
Description copied from interface: TestHessian2
long 0
 xe0
 

Specified by:
argLong_0 in interface TestHessian2

argLong_1

public java.lang.Object argLong_1(java.lang.Object v)
Description copied from interface: TestHessian2
long 1
 xe1
 

Specified by:
argLong_1 in interface TestHessian2

argLong_15

public java.lang.Object argLong_15(java.lang.Object v)
Description copied from interface: TestHessian2
long 15
 xef
 

Specified by:
argLong_15 in interface TestHessian2

argLong_m8

public java.lang.Object argLong_m8(java.lang.Object v)
Description copied from interface: TestHessian2
long -8
 xd8
 

Specified by:
argLong_m8 in interface TestHessian2

argLong_0x10

public java.lang.Object argLong_0x10(java.lang.Object v)
Description copied from interface: TestHessian2
long 0x10
 xf8 x10
 

Specified by:
argLong_0x10 in interface TestHessian2

argLong_0x7ff

public java.lang.Object argLong_0x7ff(java.lang.Object v)
Description copied from interface: TestHessian2
long x7ff
 xff xff
 

Specified by:
argLong_0x7ff in interface TestHessian2

argLong_m9

public java.lang.Object argLong_m9(java.lang.Object v)
Description copied from interface: TestHessian2
long -9
 xf7 xf7
 

Specified by:
argLong_m9 in interface TestHessian2

argLong_m0x800

public java.lang.Object argLong_m0x800(java.lang.Object v)
Description copied from interface: TestHessian2
long -0x800
 xf0 x00
 

Specified by:
argLong_m0x800 in interface TestHessian2

argLong_0x800

public java.lang.Object argLong_0x800(java.lang.Object v)
Description copied from interface: TestHessian2
long 0x800
 x3c x08 x00
 

Specified by:
argLong_0x800 in interface TestHessian2

argLong_0x3ffff

public java.lang.Object argLong_0x3ffff(java.lang.Object v)
Description copied from interface: TestHessian2
long 0x3ffff
 x3f xff xff
 

Specified by:
argLong_0x3ffff in interface TestHessian2

argLong_m0x801

public java.lang.Object argLong_m0x801(java.lang.Object v)
Description copied from interface: TestHessian2
long -0x801
 x3b xf7 xff
 

Specified by:
argLong_m0x801 in interface TestHessian2

argLong_m0x40000

public java.lang.Object argLong_m0x40000(java.lang.Object v)
Description copied from interface: TestHessian2
long m0x40000
 x38 x00 x00
 

Specified by:
argLong_m0x40000 in interface TestHessian2

argLong_0x40000

public java.lang.Object argLong_0x40000(java.lang.Object v)
Description copied from interface: TestHessian2
long 0x40000
 x59 x00 x04 x00 x00
 

Specified by:
argLong_0x40000 in interface TestHessian2

argLong_0x7fffffff

public java.lang.Object argLong_0x7fffffff(java.lang.Object v)
Description copied from interface: TestHessian2
long 0x7fffffff
 x59 x7f xff xff xff
 

Specified by:
argLong_0x7fffffff in interface TestHessian2

argLong_m0x40001

public java.lang.Object argLong_m0x40001(java.lang.Object v)
Description copied from interface: TestHessian2
long m0x40001
 x59 xff xfb xff xf
 

Specified by:
argLong_m0x40001 in interface TestHessian2

argLong_m0x80000000

public java.lang.Object argLong_m0x80000000(java.lang.Object v)
Description copied from interface: TestHessian2
long -0x80000000
 x59 x80 x00 x00 x00
 

Specified by:
argLong_m0x80000000 in interface TestHessian2

argLong_0x80000000

public java.lang.Object argLong_0x80000000(java.lang.Object v)
Description copied from interface: TestHessian2
Result of long 0x80000000
 L x00 x00 x00 x00 x80 x00 x00 x00
 

Specified by:
argLong_0x80000000 in interface TestHessian2

argLong_m0x80000001

public java.lang.Object argLong_m0x80000001(java.lang.Object v)
Description copied from interface: TestHessian2
Result of long -0x80000001
 L xff xff xff xff x7f xff xff xff
 

Specified by:
argLong_m0x80000001 in interface TestHessian2

argDouble_0_0

public java.lang.Object argDouble_0_0(java.lang.Object v)
double 0.0
 x5b
 

Specified by:
argDouble_0_0 in interface TestHessian2

argDouble_1_0

public java.lang.Object argDouble_1_0(java.lang.Object v)
double 1.0
 x5c
 

Specified by:
argDouble_1_0 in interface TestHessian2

argDouble_2_0

public java.lang.Object argDouble_2_0(java.lang.Object v)
double 2.0
 x5d x02
 

Specified by:
argDouble_2_0 in interface TestHessian2

argDouble_127_0

public java.lang.Object argDouble_127_0(java.lang.Object v)
double 127.0
 x5d x7f
 

Specified by:
argDouble_127_0 in interface TestHessian2

argDouble_m128_0

public java.lang.Object argDouble_m128_0(java.lang.Object v)
double -128.0
 x5d x80
 

Specified by:
argDouble_m128_0 in interface TestHessian2

argDouble_128_0

public java.lang.Object argDouble_128_0(java.lang.Object v)
double 128.0
 x5e x00 x80
 

Specified by:
argDouble_128_0 in interface TestHessian2

argDouble_m129_0

public java.lang.Object argDouble_m129_0(java.lang.Object v)
double -129.0
 x5e xff x7f
 

Specified by:
argDouble_m129_0 in interface TestHessian2

argDouble_32767_0

public java.lang.Object argDouble_32767_0(java.lang.Object v)
double 32767.0
 x5e x7f xff
 

Specified by:
argDouble_32767_0 in interface TestHessian2

argDouble_m32768_0

public java.lang.Object argDouble_m32768_0(java.lang.Object v)
Double -32768.0
 x5e x80 x80
 

Specified by:
argDouble_m32768_0 in interface TestHessian2

argDouble_0_001

public java.lang.Object argDouble_0_001(java.lang.Object v)
double 0.001
 x5f x00 x00 x00 x01
 

Specified by:
argDouble_0_001 in interface TestHessian2

argDouble_m0_001

public java.lang.Object argDouble_m0_001(java.lang.Object v)
double -0.001
 x5f xff xff xff xff
 

Specified by:
argDouble_m0_001 in interface TestHessian2

argDouble_65_536

public java.lang.Object argDouble_65_536(java.lang.Object v)
double 65.536
 x5f x00 x01 x00 x00
 

Specified by:
argDouble_65_536 in interface TestHessian2

argDouble_3_14159

public java.lang.Object argDouble_3_14159(java.lang.Object v)
Result of double 3.14159
 D x00 x01 x00 x00 x00 x00 x00 x00
 

Specified by:
argDouble_3_14159 in interface TestHessian2

argDate_0

public java.lang.Object argDate_0(java.lang.Object v)
Description copied from interface: TestHessian2
date 0 (01-01-1970 00:00 GMT)
 x4a x00 x00 x00 x00
 

Specified by:
argDate_0 in interface TestHessian2

argDate_1

public java.lang.Object argDate_1(java.lang.Object v)
Description copied from interface: TestHessian2
Date by millisecond (05-08-1998 07:51 GMT)
 x4a x00 x00 x00 xd0 x4b x92 x84 xb8
 

Specified by:
argDate_1 in interface TestHessian2

argDate_2

public java.lang.Object argDate_2(java.lang.Object v)
Description copied from interface: TestHessian2
Date by minute (05-08-1998 07:51 GMT)
 x4b x00 xe3 x83 x8f
 

Specified by:
argDate_2 in interface TestHessian2

argString_0

public java.lang.Object argString_0(java.lang.Object v)
Description copied from interface: TestHessian2
A zero-length string
 x00
 

Specified by:
argString_0 in interface TestHessian2

argString_1

public java.lang.Object argString_1(java.lang.Object v)
Description copied from interface: TestHessian2
A one-length string
 x01 a
 

Specified by:
argString_1 in interface TestHessian2

argString_31

public java.lang.Object argString_31(java.lang.Object v)
Description copied from interface: TestHessian2
A 31-length string
 x0f 0123456789012345678901234567890
 

Specified by:
argString_31 in interface TestHessian2

argString_32

public java.lang.Object argString_32(java.lang.Object v)
Description copied from interface: TestHessian2
A 32-length string
 x30 x02 01234567890123456789012345678901
 

Specified by:
argString_32 in interface TestHessian2

argString_1023

public java.lang.Object argString_1023(java.lang.Object v)
Description copied from interface: TestHessian2
A 1023-length string
 x33 xff 000 01234567890123456789012345678901...
 

Specified by:
argString_1023 in interface TestHessian2

argString_1024

public java.lang.Object argString_1024(java.lang.Object v)
Description copied from interface: TestHessian2
A 1024-length string
 S x04 x00 000 01234567890123456789012345678901...
 

Specified by:
argString_1024 in interface TestHessian2

argString_65536

public java.lang.Object argString_65536(java.lang.Object v)
Description copied from interface: TestHessian2
A 65536-length string
 R x80 x00 000 ...
 S x04 x00 000 01234567890123456789012345678901...
 

Specified by:
argString_65536 in interface TestHessian2

argBinary_0

public java.lang.Object argBinary_0(java.lang.Object v)
Description copied from interface: TestHessian2
A zero-length binary
 x20
 

Specified by:
argBinary_0 in interface TestHessian2

argBinary_1

public java.lang.Object argBinary_1(java.lang.Object v)
Description copied from interface: TestHessian2
A one-length string
 x21 0
 

Specified by:
argBinary_1 in interface TestHessian2

argBinary_15

public java.lang.Object argBinary_15(java.lang.Object v)
Description copied from interface: TestHessian2
A 15-length binary
 x2f 0123456789012345
 

Specified by:
argBinary_15 in interface TestHessian2

argBinary_16

public java.lang.Object argBinary_16(java.lang.Object v)
Description copied from interface: TestHessian2
A 16-length binary
 x34 x10 01234567890123456789012345678901
 

Specified by:
argBinary_16 in interface TestHessian2

argBinary_1023

public java.lang.Object argBinary_1023(java.lang.Object v)
Description copied from interface: TestHessian2
A 1023-length binary
 x37 xff 000 01234567890123456789012345678901...
 

Specified by:
argBinary_1023 in interface TestHessian2

argBinary_1024

public java.lang.Object argBinary_1024(java.lang.Object v)
Description copied from interface: TestHessian2
A 1024-length binary
 B x04 x00 000 01234567890123456789012345678901...
 

Specified by:
argBinary_1024 in interface TestHessian2

argBinary_65536

public java.lang.Object argBinary_65536(java.lang.Object v)
Description copied from interface: TestHessian2
A 65536-length binary
 A x80 x00 000 ...
 B x04 x00 000 01234567890123456789012345678901...
 

Specified by:
argBinary_65536 in interface TestHessian2

argUntypedFixedList_0

public java.lang.Object argUntypedFixedList_0(java.lang.Object v)
Description copied from interface: TestHessian2
Zero-length untyped list
 x78
 

Specified by:
argUntypedFixedList_0 in interface TestHessian2

argUntypedFixedList_1

public java.lang.Object argUntypedFixedList_1(java.lang.Object v)
Description copied from interface: TestHessian2
1-length untyped list
 x79 x01 1
 

Specified by:
argUntypedFixedList_1 in interface TestHessian2

argUntypedFixedList_7

public java.lang.Object argUntypedFixedList_7(java.lang.Object v)
Description copied from interface: TestHessian2
7-length untyped list
 x7f x01 1 x01 2 x01 3 x01 4 x01 5 x01 6 x01 7
 

Specified by:
argUntypedFixedList_7 in interface TestHessian2

argUntypedFixedList_8

public java.lang.Object argUntypedFixedList_8(java.lang.Object v)
Description copied from interface: TestHessian2
8-length untyped list
 X x98 x01 1 x01 2 x01 3 x01 4 x01 5 x01 6 x01 7 x01 8
 

Specified by:
argUntypedFixedList_8 in interface TestHessian2

argTypedFixedList_0

public java.lang.Object argTypedFixedList_0(java.lang.Object v)
Description copied from interface: TestHessian2
Zero-length typed list (String array)
 x70 x07 [string
 

Specified by:
argTypedFixedList_0 in interface TestHessian2

argTypedFixedList_1

public java.lang.Object argTypedFixedList_1(java.lang.Object v)
Description copied from interface: TestHessian2
1-length typed list (String array)
 x71 x07 [string x01 1
 

Specified by:
argTypedFixedList_1 in interface TestHessian2

argTypedFixedList_7

public java.lang.Object argTypedFixedList_7(java.lang.Object v)
Description copied from interface: TestHessian2
7-length typed list (String array)
 x77 x07 [string x01 1 x01 2 x01 3 x01 4 x01 5 x01 6 x01 7
 

Specified by:
argTypedFixedList_7 in interface TestHessian2

argTypedFixedList_8

public java.lang.Object argTypedFixedList_8(java.lang.Object v)
Description copied from interface: TestHessian2
8-length typed list (String array)
 V x07 [stringx98 x01 1 x01 2 x01 3 x01 4 x01 5 x01 6 x01 7 x01 8
 

Specified by:
argTypedFixedList_8 in interface TestHessian2

argUntypedMap_0

public java.lang.Object argUntypedMap_0(java.lang.Object v)
Description copied from interface: TestHessian2
zero-length untyped map
 H Z
 

Specified by:
argUntypedMap_0 in interface TestHessian2

argUntypedMap_1

public java.lang.Object argUntypedMap_1(java.lang.Object v)
Description copied from interface: TestHessian2
untyped map with string key
 H x01 a x90 Z
 

Specified by:
argUntypedMap_1 in interface TestHessian2

argUntypedMap_2

public java.lang.Object argUntypedMap_2(java.lang.Object v)
Description copied from interface: TestHessian2
untyped map with int key
 H x90 x01 a x91 x01 b Z
 

Specified by:
argUntypedMap_2 in interface TestHessian2

argUntypedMap_3

public java.lang.Object argUntypedMap_3(java.lang.Object v)
Description copied from interface: TestHessian2
untyped map with list key
 H x71 x01 a x90 Z
 

Specified by:
argUntypedMap_3 in interface TestHessian2

argTypedMap_0

public java.lang.Object argTypedMap_0(java.lang.Object v)
Description copied from interface: TestHessian2
zero-length typed map
 M x13 java.lang.Hashtable Z
 

Specified by:
argTypedMap_0 in interface TestHessian2

argTypedMap_1

public java.lang.Object argTypedMap_1(java.lang.Object v)
Description copied from interface: TestHessian2
untyped map with string key
 M x13 java.lang.Hashtable x01 a x90 Z
 

Specified by:
argTypedMap_1 in interface TestHessian2

argTypedMap_2

public java.lang.Object argTypedMap_2(java.lang.Object v)
Description copied from interface: TestHessian2
typed map with int key
 M x13 java.lang.Hashtable x90 x01 a x91 x01 b Z
 

Specified by:
argTypedMap_2 in interface TestHessian2

argTypedMap_3

public java.lang.Object argTypedMap_3(java.lang.Object v)
Description copied from interface: TestHessian2
typed map with list key
 M x13 java.lang.Hashtable x79 x01 a x90 Z
 

Specified by:
argTypedMap_3 in interface TestHessian2

argObject_0

public java.lang.Object argObject_0(java.lang.Object v)
Description copied from interface: TestHessian2
Returns a single object
 C x1a com.caucho.hessian.test.A0 x90 x60
 

Specified by:
argObject_0 in interface TestHessian2

argObject_16

public java.lang.Object argObject_16(java.lang.Object v)
Description copied from interface: TestHessian2
Returns 16 object types
 X xa0
  C x1a com.caucho.hessian.test.A0 x90 x60
  C x1a com.caucho.hessian.test.A1 x90 x61
  C x1a com.caucho.hessian.test.A2 x90 x62
  C x1a com.caucho.hessian.test.A3 x90 x63
  C x1a com.caucho.hessian.test.A4 x90 x64
  C x1a com.caucho.hessian.test.A5 x90 x65
  C x1a com.caucho.hessian.test.A6 x90 x66
  C x1a com.caucho.hessian.test.A7 x90 x67
  C x1a com.caucho.hessian.test.A8 x90 x68
  C x1a com.caucho.hessian.test.A9 x90 x69
  C x1b com.caucho.hessian.test.A10 x90 x6a
  C x1b com.caucho.hessian.test.A11 x90 x6b
  C x1b com.caucho.hessian.test.A12 x90 x6c
  C x1b com.caucho.hessian.test.A13 x90 x6d
  C x1b com.caucho.hessian.test.A14 x90 x6e
  C x1b com.caucho.hessian.test.A15 x90 x6f
  C x1b com.caucho.hessian.test.A16 x90 O xa0

Specified by:
argObject_16 in interface TestHessian2

argObject_1

public java.lang.Object argObject_1(java.lang.Object v)
Description copied from interface: TestHessian2
Simple object with one field
 C x30 x22 com.caucho.hessian.test.TestObject x91 x06 _value x60 x90
 

Specified by:
argObject_1 in interface TestHessian2

argObject_2

public java.lang.Object argObject_2(java.lang.Object v)
Description copied from interface: TestHessian2
Simple two objects with one field
 x7a
   C x30 x22 com.caucho.hessian.test.TestObject x91 x06 _value
   x60 x90
   x60 x91
 

Specified by:
argObject_2 in interface TestHessian2

argObject_2a

public java.lang.Object argObject_2a(java.lang.Object v)
Description copied from interface: TestHessian2
Simple repeated object
 x7a
   C x30 x22 com.caucho.hessian.test.TestObject x91 x06 _value
   x60 x90
   Q x91
 

Specified by:
argObject_2a in interface TestHessian2

argObject_2b

public java.lang.Object argObject_2b(java.lang.Object v)
Description copied from interface: TestHessian2
Two object with equals
 x7a
   C x22 com.caucho.hessian.test.TestObject x91 x06 _value
   x60 x90
   x60 x90
 

Specified by:
argObject_2b in interface TestHessian2

argObject_3

public java.lang.Object argObject_3(java.lang.Object v)
Description copied from interface: TestHessian2
Circular object
 C x20 com.caucho.hessian.test.TestCons x91 x06 _first x05 _rest
   x60 x01 a Q x90
 

Specified by:
argObject_3 in interface TestHessian2

equals

private boolean equals(java.lang.String[] a,
                       java.lang.String[] b)

equals

private boolean equals(byte[] a,
                       java.lang.Object obj)

getInputDebug

protected java.lang.String getInputDebug()

invoke

public void invoke(java.io.InputStream is,
                   java.io.OutputStream os,
                   java.lang.String objectId,
                   SerializerFactory serializerFactory)
            throws java.lang.Exception
Invoke the object with the request from the input stream.

Overrides:
invoke in class HessianServlet
Parameters:
in - the Hessian input stream
out - the Hessian output stream
Throws:
java.lang.Exception


Copyright 2003-2011. All Rights Reserved.