public class TestHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestHandler.Input |
| Modifier and Type | Field and Description |
|---|---|
static String |
CREATE_RESPONSE |
static String |
ECHO_PREFIX |
static String |
FAILURE_MESSAGE |
static String |
GET_RESPONSE |
static String |
NO_ARG_RESPONSE |
static Map<String,String> |
REST_RESULTS |
| Constructor and Description |
|---|
TestHandler() |
| Modifier and Type | Method and Description |
|---|---|
Future<?> |
create(org.apache.shindig.protocol.RequestItem req) |
String |
echo(TestHandler.Input input) |
void |
exception(org.apache.shindig.protocol.RequestItem req) |
Future<?> |
futureException(org.apache.shindig.protocol.RequestItem req) |
Object |
get(org.apache.shindig.protocol.RequestItem req) |
String |
noArg() |
Object |
overridden(org.apache.shindig.protocol.RequestItem req) |
Object |
overriddenRpc(org.apache.shindig.protocol.RequestItem req) |
void |
setMock(TestHandler mock) |
public static final String GET_RESPONSE
public static final String CREATE_RESPONSE
public static final String FAILURE_MESSAGE
public static final String ECHO_PREFIX
public static final String NO_ARG_RESPONSE
public void setMock(TestHandler mock)
public Object get(org.apache.shindig.protocol.RequestItem req)
public Object overridden(org.apache.shindig.protocol.RequestItem req)
public Object overriddenRpc(org.apache.shindig.protocol.RequestItem req)
public Future<?> create(org.apache.shindig.protocol.RequestItem req)
public Future<?> futureException(org.apache.shindig.protocol.RequestItem req)
public void exception(org.apache.shindig.protocol.RequestItem req)
public String echo(TestHandler.Input input)
public String noArg()
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.