Methods Summary |
---|
public void | addConstraintField(ConstraintField field)add a constraint key field
if (field == null)
return;
ConstraintField results[] =
new ConstraintField[constraintFields.length + 1];
for (int i = 0; i < constraintFields.length; i++)
results[i] = constraintFields[i];
results[constraintFields.length] = field;
constraintFields = results;
|
public void | addKeyField(Field field)add a key field
if (field == null)
return;
Field results[] = new Field[keyFields.length + 1];
for (int i = 0; i < keyFields.length; i++)
results[i] = keyFields[i];
results[keyFields.length] = field;
keyFields = results;
|
public void | addMethod(java.lang.String method)add an allowable HTTP method
if (method == null)
return;
String results[] = new String[methods.length + 1];
for (int i = 0; i < methods.length; i++)
results[i] = methods[i];
results[methods.length] = method;
methods = results;
|
public boolean | findMethod(java.lang.String method)Return true if the specified HTTP request method is
allowed for caching
if (methods.length == 0)
return (true);
for (int i = 0; i < methods.length; i++) {
if (methods[i].equals(method))
return (true);
}
return (false);
|
public ConstraintField[] | getConstraintFields()get the constraint fields
return constraintFields;
|
public java.lang.String | getHelperNameRef()get helper-name-ref associated with this mapping
return helperNameRef;
|
public Field[] | getKeyFields()get the key fields
return keyFields;
|
public Field | getRefreshField()get the refresh field
return refreshField;
|
public java.lang.String | getServletName()get the underlying servlet-name
return servletName;
|
public int | getTimeout()get the timeout
return timeout;
|
public Field | getTimeoutField()get the timeout field
return timeoutField;
|
public java.lang.String | getURLPattern()get the underlying url-pattern this mapping applicable
return urlPattern;
|
public void | setHelperNameRef(java.lang.String helperNameRef)set the helper name ref associated with this cache mapping
this.helperNameRef = helperNameRef;
|
public void | setMethods(java.lang.String[] methods)set allowable HTTP methods
if (methods == null)
return;
this.methods = methods;
|
public void | setRefreshField(Field field)set the refresh field
this.refreshField = field;
|
public void | setServletName(java.lang.String servletName)set the servlet-name this mapping applies
this.servletName = servletName;
|
public void | setTimeout(int timeout)set the timeout
this.timeout = timeout;
|
public void | setTimeoutField(Field field)set the timeout field
this.timeoutField = field;
|
public void | setURLPattern(java.lang.String urlPattern)set the url-pattern this mapping applies
this.urlPattern = urlPattern;
|