public class ConstraintTranslator extends Object implements RequestHandler
BODY_TAG_CLOSE, BODY_TAG_OPEN, CALL_ID_TAG_CLOSE, CALL_ID_TAG_OPEN, CONTEXT_TAG_CLOSE, CONTEXT_TAG_OPEN, CONVERSATION_ID_TAG_CLOSE, CONVERSATION_ID_TAG_OPEN, ENVELOPE_TAG_CLOSE, ENVELOPE_TAG_OPEN, HEADER_CLOSE, HEADER_OPEN, REF_TAG_CLOSE, REF_TAG_OPEN_END, REF_TAG_OPEN_START, REFS_TAG_CLOSE, REFS_TAG_OPEN
Constructor and Description |
---|
ConstraintTranslator() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
convertConstraint(ConstraintDescriptor<?> constraint,
HashMap<String,ArrayList<String>> gh,
OutputStream out,
String parent) |
protected Bean<?> |
getTargetBean(String beanName,
String qualifiers) |
void |
handle(HttpServletRequest request,
HttpServletResponse response) |
protected Map<String,Object[]> |
translateConstraints(String beanName,
String qualifiers,
OutputStream out) |
public void handle(HttpServletRequest request, HttpServletResponse response) throws Exception
handle
in interface RequestHandler
Exception
protected Map<String,Object[]> translateConstraints(String beanName, String qualifiers, OutputStream out) throws IOException
IOException
protected String[] convertConstraint(ConstraintDescriptor<?> constraint, HashMap<String,ArrayList<String>> gh, OutputStream out, String parent) throws IOException
IOException
Copyright © 2012 Seam Framework. All Rights Reserved.