public class GadgetsHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
GadgetsHandler.CajaRequestData |
protected class |
GadgetsHandler.JsRequestData |
protected class |
GadgetsHandler.MetadataRequestData |
protected class |
GadgetsHandler.ProxyRequestData |
protected class |
GadgetsHandler.TokenRequestData |
| Modifier and Type | Field and Description |
|---|---|
protected BeanDelegator |
beanDelegator |
protected BeanFilter |
beanFilter |
protected ExecutorService |
executor |
protected GadgetsHandlerService |
handlerService |
| Constructor and Description |
|---|
GadgetsHandler(ExecutorService executor,
GadgetsHandlerService handlerService,
BeanFilter beanFilter) |
protected final ExecutorService executor
protected final GadgetsHandlerService handlerService
protected final BeanFilter beanFilter
protected final BeanDelegator beanDelegator
@Inject public GadgetsHandler(ExecutorService executor, GadgetsHandlerService handlerService, BeanFilter beanFilter)
public Map<String,GadgetsHandlerApi.BaseResponse> metadata(BaseRequestItem request) throws ProtocolException
ProtocolExceptionpublic Map<String,GadgetsHandlerApi.BaseResponse> token(BaseRequestItem request) throws ProtocolException
ProtocolExceptionpublic GadgetsHandlerApi.BaseResponse js(BaseRequestItem request) throws ProtocolException
ProtocolExceptionpublic Map<String,GadgetsHandlerApi.BaseResponse> proxy(BaseRequestItem request) throws ProtocolException
ProtocolExceptionpublic Map<String,GadgetsHandlerApi.BaseResponse> cajole(BaseRequestItem request) throws ProtocolException
ProtocolExceptionpublic Set<String> supportedFields(RequestItem request)
public Set<String> tokenSupportedFields(RequestItem request)
public Set<String> jsSupportedFields(RequestItem request)
public Set<String> proxySupportedFields(RequestItem request)
public Set<String> cajaSupportedFields(RequestItem request)
protected Callable<org.apache.shindig.gadgets.servlet.GadgetsHandler.CallableData> createMetadataJob(String url, BaseRequestItem request) throws ProcessingException
ProcessingExceptionprotected Callable<org.apache.shindig.gadgets.servlet.GadgetsHandler.CallableData> createTokenJob(String url, BaseRequestItem request) throws ProcessingException
ProcessingExceptionprotected Callable<org.apache.shindig.gadgets.servlet.GadgetsHandler.CallableData> createProxyJob(String url, BaseRequestItem request) throws ProcessingException
ProcessingExceptionprotected Callable<org.apache.shindig.gadgets.servlet.GadgetsHandler.CallableData> createCajaJob(String url, BaseRequestItem request) throws ProcessingException
ProcessingExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.