public class UserAgentChannelProvider extends Object implements ChannelProvider, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.BeanNameAware
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_AGENT_HEADER_NAME |
| Constructor and Description |
|---|
UserAgentChannelProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
boolean |
equals(Object obj) |
List<String> |
getAllChannels() |
String |
getBeanName() |
Map<String,String> |
getChannelCapabilities(String identifier) |
String |
getFallBack(String identifier) |
int |
getPriority() |
int |
hashCode() |
boolean |
isVisible(String identifier) |
String |
resolveChannel(javax.servlet.http.HttpServletRequest request) |
void |
setBeanName(String name) |
void |
setChannelList(List<Channel> channelList) |
void |
setChannelService(ChannelService channelService) |
void |
setPriority(int priority) |
public static final String USER_AGENT_HEADER_NAME
public int getPriority()
getPriority in interface ChannelProviderpublic void setPriority(int priority)
public void setChannelService(ChannelService channelService)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic Map<String,String> getChannelCapabilities(String identifier)
getChannelCapabilities in interface ChannelProviderpublic String resolveChannel(javax.servlet.http.HttpServletRequest request)
resolveChannel in interface ChannelProviderpublic List<String> getAllChannels()
getAllChannels in interface ChannelProviderpublic void setBeanName(String name)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic String getBeanName()
public String getFallBack(String identifier)
getFallBack in interface ChannelProviderpublic boolean isVisible(String identifier)
isVisible in interface ChannelProviderCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.