public abstract class AbstractHttpClientCallback extends Object implements HttpClientCallback
HttpClientCallback
implementations, providing a default set of configurable filters to
accept the request.Constructor and Description |
---|
AbstractHttpClientCallback() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(javax.servlet.http.HttpServletRequest request)
Let the implementation if it wants to handle this request.
|
protected void |
doCallback(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
since 4.5
|
protected SimpleUrlPattern |
getHostPattern() |
protected SimpleUrlPattern |
getOriginalUrlPattern() |
protected SimpleUrlPattern |
getUrlPattern() |
Voter |
getVoters() |
void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Override this method to provide the specific functionality.
|
void |
setHostPattern(SimpleUrlPattern hostPattern) |
void |
setOriginalUrlPattern(SimpleUrlPattern originalUrlPattern) |
void |
setUrlPattern(SimpleUrlPattern urlPattern) |
void |
setVoters(Voter voters) |
public boolean accepts(javax.servlet.http.HttpServletRequest request)
HttpClientCallback
accepts
in interface HttpClientCallback
public void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
doCallback(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
.handle
in interface HttpClientCallback
@Deprecated protected void doCallback(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
handle(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
when subclassing AbstractHttpClientCallback.protected SimpleUrlPattern getOriginalUrlPattern()
public void setOriginalUrlPattern(SimpleUrlPattern originalUrlPattern)
protected SimpleUrlPattern getUrlPattern()
public void setUrlPattern(SimpleUrlPattern urlPattern)
protected SimpleUrlPattern getHostPattern()
public void setHostPattern(SimpleUrlPattern hostPattern)
public Voter getVoters()
public void setVoters(Voter voters)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.