Class SavedRequestMarshaller
java.lang.Object
org.wildfly.clustering.spring.security.web.savedrequest.SavedRequestMarshaller
- All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<org.springframework.security.web.savedrequest.DefaultSavedRequest>,org.infinispan.protostream.ProtobufTagMarshaller<org.springframework.security.web.savedrequest.DefaultSavedRequest>,org.wildfly.clustering.marshalling.protostream.Marshallable<org.springframework.security.web.savedrequest.DefaultSavedRequest>,org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<org.springframework.security.web.savedrequest.DefaultSavedRequest>,org.wildfly.clustering.marshalling.protostream.Readable<org.springframework.security.web.savedrequest.DefaultSavedRequest>,org.wildfly.clustering.marshalling.protostream.Writable<org.springframework.security.web.savedrequest.DefaultSavedRequest>
public class SavedRequestMarshaller
extends Object
implements org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<org.springframework.security.web.savedrequest.DefaultSavedRequest>
Marshaller for a
DefaultSavedRequest that avoids marshalling of redundant info, e.g. request URI/URL, GET parameters, etc.- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.protostream.ProtobufTagMarshaller
org.infinispan.protostream.ProtobufTagMarshaller.OperationContext, org.infinispan.protostream.ProtobufTagMarshaller.ReadContext, org.infinispan.protostream.ProtobufTagMarshaller.WriteContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends org.springframework.security.web.savedrequest.DefaultSavedRequest> org.springframework.security.web.savedrequest.DefaultSavedRequestreadFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) voidwriteTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, org.springframework.security.web.savedrequest.DefaultSavedRequest request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable
sizeMethods inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller
getTypeName, read, wrap, wrap, write
-
Constructor Details
-
SavedRequestMarshaller
public SavedRequestMarshaller()
-
-
Method Details
-
readFrom
public org.springframework.security.web.savedrequest.DefaultSavedRequest readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) throws IOException - Specified by:
readFromin interfaceorg.wildfly.clustering.marshalling.protostream.Readable<org.springframework.security.web.savedrequest.DefaultSavedRequest>- Throws:
IOException
-
writeTo
public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, org.springframework.security.web.savedrequest.DefaultSavedRequest request) throws IOException - Specified by:
writeToin interfaceorg.wildfly.clustering.marshalling.protostream.Writable<org.springframework.security.web.savedrequest.DefaultSavedRequest>- Throws:
IOException
-
getJavaClass
public Class<? extends org.springframework.security.web.savedrequest.DefaultSavedRequest> getJavaClass()- Specified by:
getJavaClassin interfaceorg.infinispan.protostream.BaseMarshaller<org.springframework.security.web.savedrequest.DefaultSavedRequest>- Specified by:
getJavaClassin interfaceorg.wildfly.clustering.marshalling.protostream.Marshallable<org.springframework.security.web.savedrequest.DefaultSavedRequest>
-