public class BTreeRedirectMarshaller extends Object implements org.apache.directory.server.core.avltree.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 org.apache.directory.server.core.avltree.Marshaller<BTreeRedirect>IOExceptionMarshaller.serialize(Object)public final BTreeRedirect deserialize(byte[] bytes) throws IOException
deserialize in interface org.apache.directory.server.core.avltree.Marshaller<BTreeRedirect>IOExceptionMarshaller.deserialize(byte[])public static boolean isRedirect(byte[] bites)
bites - the bites to check for a redirectCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.