net.javacrumbs.springws.test.validator
Class ExpressionAssertRequestValidator
java.lang.Object
net.javacrumbs.springws.test.validator.ExpressionAssertRequestValidator
- All Implemented Interfaces:
- RequestProcessor
public class ExpressionAssertRequestValidator
- extends java.lang.Object
- implements RequestProcessor
Fails if expression is evaluated to false.
- Author:
- Lukas Krecan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionAssertRequestValidator
public ExpressionAssertRequestValidator()
processRequest
public org.springframework.ws.WebServiceMessage processRequest(java.net.URI uri,
org.springframework.ws.WebServiceMessageFactory messageFactory,
org.springframework.ws.WebServiceMessage request)
throws java.io.IOException
- Description copied from interface:
RequestProcessor
- Processes the request. It can either validate the request or generate a response based on the request. Can return
null if it does not apply to given request or throw an
exception if appropriate.
- Specified by:
processRequest in interface RequestProcessor
- Returns:
-
- Throws:
java.io.IOException
getAssertExpression
public java.lang.String getAssertExpression()
setAssertExpression
public void setAssertExpression(java.lang.String expression)
getExpressionResolver
public ExpressionResolver getExpressionResolver()
setExpressionResolver
public void setExpressionResolver(ExpressionResolver expressionResolver)
getXmlUtil
public XmlUtil getXmlUtil()
setXmlUtil
public void setXmlUtil(XmlUtil xmlUtil)
Copyright © 2011. All Rights Reserved.