| Package | Description |
|---|---|
| de.androbit.nibbler | |
| de.androbit.nibbler.converter | |
| de.androbit.nibbler.dsl | |
| de.androbit.nibbler.handler | |
| 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 java.util.function.Function<RestResponse,RestResponse> |
FileHandlers.classPathResource(String path,
MediaType mediaType) |
static java.util.function.Function<RestResponse,RestResponse> |
FileHandlers.fileContent(File file,
MediaType mediaType) |
static java.util.function.Function<RestResponse,RestResponse> |
BodyHandlers.text(String theText,
MediaType mediaType) |
| Modifier and Type | Field and Description |
|---|---|
static MediaType |
MediaType.APPLICATION_JAVASCRIPT |
static MediaType |
MediaType.APPLICATION_JSON |
static MediaType |
MediaType.APPLICATION_OCTET_STREAM |
static MediaType |
MediaType.APPLICATION_XML |
static MediaType |
MediaType.IMAGE_GIF |
static MediaType |
MediaType.IMAGE_JPEG |
static MediaType |
MediaType.IMAGE_PNG |
static MediaType |
MediaType.TEXT_CSS |
static MediaType |
MediaType.TEXT_HTML |
static MediaType |
MediaType.TEXT_JAVASCRIPT |
static MediaType |
MediaType.TEXT_PLAIN |
| Modifier and Type | Method and Description |
|---|---|
static MediaType |
MediaType.valueOf(String mimeString) |
Copyright © 2014. All rights reserved.