All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softwaremill.pekkohttpsession.javadsl.JwtSessionSerializers Maven / Gradle / Ivy

The newest version!
package com.softwaremill.pekkohttpsession.javadsl;

import com.softwaremill.pekkohttpsession.JValueSessionSerializer$;
import com.softwaremill.pekkohttpsession.SessionSerializer;
import org.json4s.DefaultFormats$;
import org.json4s.JValue;

/**
 * Wrapper for session transports in com.softwaremill.pekkohttpsession.JValueSessionSerializer
 */
public final class JwtSessionSerializers {

    public static final DefaultFormats$ DefaultUtcDateFormat = DefaultFormats$.MODULE$;

    public static final SessionSerializer StringToJValueSessionSerializer = JValueSessionSerializer$.MODULE$.stringToJValueSessionSerializer();
    public static final SessionSerializer IntToJValueSessionSerializer = (SessionSerializer) (SessionSerializer) JValueSessionSerializer$.MODULE$.intToJValueSessionSerializer();
    public static final SessionSerializer LongToJValueSessionSerializer = (SessionSerializer) (SessionSerializer) JValueSessionSerializer$.MODULE$.longToJValueSessionSerializer();
    public static final SessionSerializer FloatToJValueSessionSerializer = (SessionSerializer) (SessionSerializer) JValueSessionSerializer$.MODULE$.floatToJValueSessionSerializer();
    public static final SessionSerializer DoubleToJValueSessionSerializer = (SessionSerializer) (SessionSerializer) JValueSessionSerializer$.MODULE$.doubleToJValueSessionSerializer();

    private JwtSessionSerializers() {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy