public class ServletPolicyList extends Object
| Constructor and Description |
|---|
ServletPolicyList() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addPolicy(javax.servlet.ServletContext sc,
PolicyIface policy)
Add the policy to the end of the list.
|
static void |
addPolicyAtFront(javax.servlet.ServletContext sc,
PolicyIface policy)
Add the policy to the front of the list.
|
static PolicyIface |
getPolicies(javax.servlet.http.HttpServletRequest hreq)
Get a copy of the current list of policies.
|
static PolicyList |
getPolicies(javax.servlet.ServletContext sc)
Get a copy of the current list of policies.
|
static void |
replacePolicy(javax.servlet.ServletContext sc,
PolicyIface policy)
Replace the first instance of this class of policy in the list.
|
public static PolicyIface getPolicies(javax.servlet.http.HttpServletRequest hreq)
public static PolicyList getPolicies(javax.servlet.ServletContext sc)
public static void addPolicy(javax.servlet.ServletContext sc,
PolicyIface policy)
public static void addPolicyAtFront(javax.servlet.ServletContext sc,
PolicyIface policy)
public static void replacePolicy(javax.servlet.ServletContext sc,
PolicyIface policy)
Copyright © 2021. All rights reserved.