Package | Description |
---|---|
org.refcodes.net | |
org.refcodes.net.impls |
Modifier and Type | Method and Description |
---|---|
MediaTypeFactory |
MediaTypeFactoryLookup.toMediaTypeFactory(MediaType aMediaType)
Retrieves the
MediaTypeFactory related to the given
MediaType or null if there is none such MediaTypeFactory . |
Modifier and Type | Method and Description |
---|---|
boolean |
MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup.addMediaTypeFactory(MediaTypeFactory aMediaTypeFactory)
Registers a
MediaTypeFactory for marshaling and unmarshaling
a HTTP request's body of the according MediaType . |
Modifier and Type | Class and Description |
---|---|
class |
ApplicationFormFactory
Implements the
MediaTypeFactory for Media-Type
"application/x-www-form-urlencoded" (
MediaType.APPLICATION_X_WWW_FORM_URLENCODED ). |
class |
ApplicationJsonFactory
Implements the
MediaTypeFactory for Media-Type "application/json" (
MediaType.APPLICATION_JSON ). |
class |
ApplicationXmlFactory
Implements the
MediaTypeFactory for Media-Type "application/xml" (
MediaType.APPLICATION_XML ). |
class |
TextPlainFactory
Implements the
MediaTypeFactory for Media-Type "text/plain" (
MediaType.TEXT_PLAIN ). |
class |
TextXmlFactory
Implements the
MediaTypeFactory for Media-Type "application/xml" (
MediaType.APPLICATION_XML ). |
Copyright © 2016. All rights reserved.