|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.webcontainer.util.XmlRequestParser
public class XmlRequestParser
Utilities for parsing XML InputStreams from browsers.
This object is necessary to accommodate certain browsers that provide invalid information.
| Nested Class Summary | |
|---|---|
static class |
XmlRequestParser.InvalidXmlException
|
| 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 HttpServletRequestcharacterEncoding - 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.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||