| Package | Description |
|---|---|
| de.androbit.nibbler | |
| de.androbit.nibbler.converter | |
| de.androbit.nibbler.dsl | |
| de.androbit.nibbler.http |
| Modifier and Type | Method and Description |
|---|---|
RestHttpServerConfiguration |
RestHttpServerConfiguration.withTypeConverter(MediaType mediaType,
ContentConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
MediaType |
TypedInput.getMediaType() |
| Modifier and Type | Method and Description |
|---|---|
Optional<MediaType> |
TypedOutput.getMediaType() |
Optional<MediaType> |
ConvertibleOutput.getMediaType() |
| Modifier and Type | Method and Description |
|---|---|
ContentConverters |
ContentConverters.addConverter(MediaType mediaType,
ContentConverter converter) |
Optional<ContentConverter> |
ContentConverters.getConverter(MediaType mediaType) |
TypedOutput |
TypedOutput.withMediaType(MediaType mediaType) |
ConvertibleOutput |
ConvertibleOutput.withMediaType(MediaType mediaType) |
| Constructor and Description |
|---|
TypedInput(InputStream bodyStream,
MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
Optional<MediaType> |
HandlerDefinition.getHandledType() |
| Modifier and Type | Method and Description |
|---|---|
HandlerDefinition |
RestServiceDsl.type(MediaType mediaType,
RestRequestHandler restRequestHandler) |
HandlerDefinition |
HandlerDefinition.wirhHandledType(MediaType handledType) |
| Modifier and Type | Method and Description |
|---|---|
static MediaType |
MediaTypes.from(String mediaType) |
static MediaType |
MediaType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaType[] |
MediaType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2014. All rights reserved.