Uses of Class
com.yahoo.jdisc.handler.ResponseDispatch
-
Uses of ResponseDispatch in com.yahoo.jdisc.handler
Modifier and TypeClassDescriptionclass
This is a convenient subclass ofResponseDispatch
that implements theCallable
interface.Modifier and TypeMethodDescriptionstatic ResponseDispatch
ResponseDispatch.newInstance
(int responseStatus, Iterable<ByteBuffer> content) Factory method for creating a ResponseDispatch with aResponse
that has the given status code, and collection of ByteBuffer content.static ResponseDispatch
ResponseDispatch.newInstance
(int responseStatus, ByteBuffer... content) Factory method for creating a ResponseDispatch with aResponse
that has the given status code, and ByteBuffer content.static ResponseDispatch
ResponseDispatch.newInstance
(Response response, Iterable<ByteBuffer> content) Factory method for creating a ResponseDispatch over a givenResponse
and ByteBuffer content.static ResponseDispatch
ResponseDispatch.newInstance
(Response response, ByteBuffer... content) Factory method for creating a ResponseDispatch over a givenResponse
and ByteBuffer content.