public static class NeutronSessionPersistence.SessionPersistenceContreteBuilder extends Object implements SessionPersistenceBuilder
Constructor and Description |
---|
SessionPersistenceContreteBuilder() |
SessionPersistenceContreteBuilder(NeutronSessionPersistence m) |
Modifier and Type | Method and Description |
---|---|
SessionPersistence |
build()
Creates and return the Model Entity M
|
SessionPersistenceBuilder |
cookieName(String cookieName)
optional
|
SessionPersistenceBuilder |
from(SessionPersistence in)
Creates a Builder using the param M as the default values
|
SessionPersistenceBuilder |
type(SessionPersistenceType type)
required
|
public SessionPersistenceContreteBuilder()
public SessionPersistenceContreteBuilder(NeutronSessionPersistence m)
public SessionPersistenceBuilder from(SessionPersistence in)
from
in interface Buildable.Builder<SessionPersistenceBuilder,SessionPersistence>
public SessionPersistenceBuilder type(SessionPersistenceType type)
type
in interface SessionPersistenceBuilder
type
- APP_COOKIE,HTTP_COOKIE,SOURCE_IPpublic SessionPersistenceBuilder cookieName(String cookieName)
cookieName
in interface SessionPersistenceBuilder
public SessionPersistence build()
build
in interface Buildable.Builder<SessionPersistenceBuilder,SessionPersistence>
Copyright © 2017. All rights reserved.