public class BTreeRedirectMarshaller extends Object implements Marshaller<BTreeRedirect>
Modifier and Type | Field and Description |
---|---|
static BTreeRedirectMarshaller |
INSTANCE
a reusable instance of this Marshaller
|
Constructor and Description |
---|
BTreeRedirectMarshaller() |
Modifier and Type | Method and Description |
---|---|
BTreeRedirect |
deserialize(byte[] bytes) |
static boolean |
isRedirect(byte[] bites)
Checks to see if a byte[] contains a redirect.
|
byte[] |
serialize(BTreeRedirect redirect) |
public static final BTreeRedirectMarshaller INSTANCE
public BTreeRedirectMarshaller()
public final byte[] serialize(BTreeRedirect redirect) throws IOException
serialize
in interface Marshaller<BTreeRedirect>
IOException
Marshaller.serialize(Object)
public final BTreeRedirect deserialize(byte[] bytes) throws IOException
deserialize
in interface Marshaller<BTreeRedirect>
IOException
Marshaller.deserialize(byte[])
public static boolean isRedirect(byte[] bites)
bites
- the bites to check for a redirectCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.