Class URLExternalizer
- java.lang.Object
-
- org.wildfly.clustering.marshalling.spi.net.URLExternalizer
-
- All Implemented Interfaces:
Externalizer<URL>
public class URLExternalizer extends Object implements Externalizer<URL>
Externalizer for aURL.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description URLExternalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<URL>getTargetClass()URLreadObject(ObjectInput input)OptionalIntsize(URL url)voidwriteObject(ObjectOutput output, URL url)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, URL url) throws IOException
- Specified by:
writeObjectin interfaceExternalizer<URL>- Throws:
IOException
-
readObject
public URL readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceExternalizer<URL>- Throws:
IOExceptionClassNotFoundException
-
getTargetClass
public Class<URL> getTargetClass()
- Specified by:
getTargetClassin interfaceExternalizer<URL>
-
size
public OptionalInt size(URL url)
- Specified by:
sizein interfaceExternalizer<URL>
-
-