Package | Description |
---|---|
com.yahoo.jdisc.handler |
Provides classes and interfaces for implementing a
RequestHandler . |
Modifier and Type | Class and Description |
---|---|
class |
CallableResponseDispatch
This is a convenient subclass of
ResponseDispatch that implements the Callable interface. |
Modifier and Type | Method and Description |
---|---|
static ResponseDispatch |
ResponseDispatch.newInstance(int responseStatus,
ByteBuffer... content)
Factory method for creating a ResponseDispatch with a
Response that has the given status code, and
ByteBuffer content. |
static ResponseDispatch |
ResponseDispatch.newInstance(int responseStatus,
Iterable<ByteBuffer> content)
Factory method for creating a ResponseDispatch with a
Response that has the given status code, and
collection of ByteBuffer content. |
static ResponseDispatch |
ResponseDispatch.newInstance(Response response,
ByteBuffer... content)
Factory method for creating a ResponseDispatch over a given
Response and ByteBuffer content. |
static ResponseDispatch |
ResponseDispatch.newInstance(Response response,
Iterable<ByteBuffer> content)
Factory method for creating a ResponseDispatch over a given
Response and ByteBuffer content. |
Copyright © 2018. All rights reserved.