|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback
public abstract class AbstractHttpClientCallback
A base class for HttpClientCallback
implementations, providing a default set of configurable filters to
accept the request.
Constructor Summary | |
---|---|
AbstractHttpClientCallback()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractHttpClientCallback()
Method Detail |
---|
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
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |