Package | Description |
---|---|
org.refcodes.net |
Use the types and definitions of this artifact when you are tired of defining
your own networking based basics, your own HTTP-status-code enumerations
(
HttpStatusCode or exceptions representing erroneous
HTTP state, or if you are tired of cookie handling, Header-Field processing
... and so on:
This artifact provides various types such as Cookie ,
FormFields , HeaderFields or
HttpMethod , which enable you to use such HTTP based
structures in a native Java way while having a tool at hand to bridge back
into the HTTP protocol world. |
org.refcodes.net.impls |
This package contains implementations of the types defined by this artifact.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ContentType
A
ContentType represents a MediaType and its according
TopLevelType with additional (optional) suffixed parameters (as of
the according HTTP Header-Fields). |
static interface |
MediaTypeAccessor.MediaTypeProperty
Provides a Media-Type property.
|
interface |
MediaTypeFactory
The
MediaTypeFactory creates instances from an HTTP body and creates
an HTTP body from given instances according to the MediaType (as of
getMediaType() ) for which the MediaTypeFactory is
responsible. |
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 |
ApplicationXml2Factory
Implements the
MediaTypeFactory for Media-Type "application/xml" (
MediaType.APPLICATION_XML ). |
class |
ApplicationXmlFactory
Implements the
MediaTypeFactory for Media-Type "application/xml" (
MediaType.APPLICATION_XML ). |
class |
ContentTypeImpl
Implementation of the
ContentType interface. |
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 © 2017. All rights reserved.