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

## org.springframework.data.redis.serializer
Class JdkSerializationRedisSerializer

    java.lang.Object
      org.springframework.data.redis.serializer.JdkSerializationRedisSerializer

All Implemented Interfaces:
  RedisSerializer<Object>

    public class JdkSerializationRedisSerializer

extends Object
implements RedisSerializer<Object>

Java Serialization Redis serializer. Delegates to the default (Java based) serializer in Spring 3.

Constructor Summary
`JdkSerializationRedisSerializer()`

Method Summary
`Object` | `deserialize(byte[] bytes)` Deserialize an object from the given binary data.
`byte[]` | `serialize(Object object)` Serialize the given object to binary data.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JdkSerializationRedisSerializer

    public JdkSerializationRedisSerializer()

Method Detail

### deserialize

    public Object deserialize(byte[] bytes)

  Description copied from interface: `RedisSerializer`
  Deserialize an object from the given binary data.

  Specified by:
    `deserialize` in interface `RedisSerializer<Object>`
  Parameters:
    `bytes` - object binary representation
  Returns:
    the equivalent object instance

### serialize

    public byte[] serialize(Object object)

  Description copied from interface: `RedisSerializer`
  Serialize the given object to binary data.

  Specified by:
    `serialize` in interface `RedisSerializer<Object>`
  Parameters:
    `object` - object to serialize
  Returns:
    the equivalent binary data

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