Another fundamental building block associated with the HTTP partitioning
facility API is the HttpPartitionExpression that represents a request expression,
including the match expression and classify formula portions:
public interface HttpPartitionExpression {
/**
* Get the expression string.
*/
public String getMatchExpression();
/**
* Get the classify formula.
*/
public String getClassifyFormula();
}
The HttpPartitionManager is used to allocate an HttpPartitionExpression
using the following HttpPartitionManager method:
47 /**
48 * Create an HttpPartitionExpression.
49 */
50 public HttpPartitionExpression createHttpPartitionExpression
(String expression, String formula);