public class NotifyFilterBean extends org.springframework.web.filter.GenericFilterBean implements INotifyUrlFactory
| Constructor and Description |
|---|
NotifyFilterBean() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
confirm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path) |
void |
doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain) |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
String |
getBaseUrl() |
String |
getBaseUrlProperty() |
String |
getConfirmPrefix() |
String |
getMountPath() |
String |
getPullPrefix() |
void |
initFilterBean() |
protected void |
pull(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path) |
void |
setBaseUrl(String baseUrl) |
void |
setBaseUrlProperty(String baseUrlProperty) |
void |
setChannels(Set<IPullChannel> channels) |
void |
setConfirmationService(IConfirmationService confirmationService) |
void |
setConfirmPrefix(String confirmPrefix) |
void |
setMountPath(String mountPath) |
void |
setPullPrefix(String pullPrefix) |
String |
toConfirmPath(Confirmation confirmation) |
String |
toPullPath(String channelId,
String userId,
IParams params) |
public void initFilterBean()
throws javax.servlet.ServletException
initFilterBean in class org.springframework.web.filter.GenericFilterBeanjavax.servlet.ServletExceptionpublic void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterIOExceptionjavax.servlet.ServletExceptionpublic void doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionprotected void pull(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path)
throws IOException
IOExceptionprotected boolean confirm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic String toPullPath(String channelId, String userId, IParams params)
toPullPath in interface INotifyUrlFactorypublic String toConfirmPath(Confirmation confirmation)
toConfirmPath in interface INotifyUrlFactorypublic String getBaseUrl()
public void setBaseUrl(String baseUrl)
public String getBaseUrlProperty()
public void setBaseUrlProperty(String baseUrlProperty)
public String getMountPath()
public void setMountPath(String mountPath)
public String getPullPrefix()
public void setPullPrefix(String pullPrefix)
public String getConfirmPrefix()
public void setConfirmPrefix(String confirmPrefix)
public void setChannels(Set<IPullChannel> channels)
public void setConfirmationService(IConfirmationService confirmationService)
Copyright © 2014 Molindo GmbH. All Rights Reserved.