|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.webcontainer.util.XmlRequestParser
public class XmlRequestParser
Utilities for parsing XML InputStream
s from browsers.
This object is necessary to accommodate certain browsers that provide invalid information.
Constructor Summary | |
---|---|
XmlRequestParser()
|
Method Summary | |
---|---|
static org.w3c.dom.Document |
parse(javax.servlet.http.HttpServletRequest request,
java.lang.String characterEncoding)
Generates a DOM representation of the XML input POSTed to a servlet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRequestParser()
Method Detail |
---|
public static org.w3c.dom.Document parse(javax.servlet.http.HttpServletRequest request, java.lang.String characterEncoding) throws java.io.IOException
request
- the incoming HttpServletRequest
characterEncoding
- the character encoding of the incoming request
(specifying this is necessary for certain misbehaving browsers)
java.io.IOException
- if the input is invalid
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |