Interface for converters that can be configured at runtime
Fields inherited from class | Fields |
---|---|
interface Converter |
DEFAULT_REQUEST_ENCODING |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.List<java.lang.String> |
getExcludes(java.lang.Class type) Gets the excludes for the given type |
|
java.util.List<java.lang.String> |
getIncludes(java.lang.Class type) Gets the includes for the given type |
|
void |
setContentType(java.lang.String contentType) Sets the content type of the converter |
|
void |
setEncoding(java.lang.String encoding) Sets the encoding of the converter |
|
void |
setExcludes(java.lang.Class type, java.util.List<java.lang.String> properties) Set to exclude properties for the given type |
|
void |
setIncludes(java.lang.Class type, java.util.List<java.lang.String> properties) Set to include properties for the given type |
Methods inherited from class | Name |
---|---|
interface Converter |
build, convertAnother, getWriter, lookupObjectMarshaller, render, render |
Gets the excludes for the given type
type
- The typeGets the includes for the given type
type
- The typeSets the content type of the converter
contentType
- The content typeSets the encoding of the converter
encoding
- The encodingSet to exclude properties for the given type
type
- The typeproperties
- The propertiesSet to include properties for the given type
type
- The typeproperties
- The properties