public final class ParserSessionArgs extends BeanSessionArgs
DEFAULT
Constructor and Description |
---|
ParserSessionArgs()
Constructor
|
ParserSessionArgs(ObjectMap properties,
Method javaMethod,
Locale locale,
TimeZone timeZone,
MediaType mediaType,
Object outer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ParserSessionArgs |
javaMethod(Method javaMethod)
The java method that called this serializer, usually the method in a REST servlet.
|
ParserSessionArgs |
locale(Locale locale)
The session locale.
|
ParserSessionArgs |
mediaType(MediaType mediaType)
The session media type.
|
ParserSessionArgs |
outer(Object outer)
The outer object for instantiating top-level non-static inner classes.
|
ParserSessionArgs |
properties(ObjectMap properties)
Session-level properties.
|
ParserSessionArgs |
timeZone(TimeZone timeZone)
The session timezone.
|
public ParserSessionArgs()
public ParserSessionArgs(ObjectMap properties, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType, Object outer)
properties
- Session-level properties.
javaMethod
- The java method that called this serializer, usually the method in a REST servlet.
locale
- The session locale.
timeZone
- The session timezone.
mediaType
- The session media type (e.g. outer
- The outer object for instantiating top-level non-static inner classes.public ParserSessionArgs javaMethod(Method javaMethod)
javaMethod
- The java method that called this serializer, usually the method in a REST servlet.
public ParserSessionArgs outer(Object outer)
outer
- The outer object for instantiating top-level non-static inner classes.public ParserSessionArgs locale(Locale locale)
BeanSessionArgs
locale
in class BeanSessionArgs
locale
- The session locale.
public ParserSessionArgs timeZone(TimeZone timeZone)
BeanSessionArgs
timeZone
in class BeanSessionArgs
timeZone
- The session timezone.
public ParserSessionArgs mediaType(MediaType mediaType)
BeanSessionArgs
mediaType
in class BeanSessionArgs
mediaType
- The session media type (e.g. public ParserSessionArgs properties(ObjectMap properties)
SessionArgs
properties
in class BeanSessionArgs
properties
- Session-level properties.
Copyright © 2018 Apache. All rights reserved.