org.loom.interceptor
Class DefaultSSLPolicyInterceptor
java.lang.Object
org.loom.interceptor.DefaultSSLPolicyInterceptor
- All Implemented Interfaces:
- Interceptor, PopulateInterceptor, FormDecorator, LinkDecorator
public class DefaultSSLPolicyInterceptor
- extends java.lang.Object
- implements LinkDecorator, FormDecorator, PopulateInterceptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultSSLPolicyInterceptor
public DefaultSSLPolicyInterceptor()
beforePopulate
public Resolution beforePopulate(ParsedAction action)
- Specified by:
beforePopulate
in interface PopulateInterceptor
- Parameters:
action
- the action and event that is being executed
- Returns:
- if return value != null, stops the execution of
the workflow and return the provided resolution
decorate
public void decorate(Link link)
- If the current request does not have the expected protocol (http/https),
modify the links pointing to this event.
- Specified by:
decorate
in interface LinkDecorator
decorate
public void decorate(Form form)
- If the current request does not have the expected protocol (http/https),
modify the forms pointing to this event.
- Specified by:
decorate
in interface FormDecorator
decorate
protected void decorate(UrlBuilder url,
HtmlTag tag)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getPolicy
public SSLPolicyType getPolicy()
setPolicy
public void setPolicy(SSLPolicyType policy)
setSslPortResolver
public void setSslPortResolver(SSLRedirectDataFactory sslPortResolver)