|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yworks.yfiles.server.graphml.support.GraphDecoder
Utility class that extracts an input stream from a HTTP request, performing some decoding if necessary.
| Constructor Summary | |
GraphDecoder()
|
|
| Method Summary | |
java.io.InputStream |
getGraphInputStream(HttpServletRequest request,
java.lang.String graphParam)
Extracts an input stream from the given request using the given parameter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GraphDecoder()
| Method Detail |
public java.io.InputStream getGraphInputStream(HttpServletRequest request,
java.lang.String graphParam)
throws java.io.IOException
The "graphEncoding" parameter string is used to determine whether the graph string has to be deflated/decoded.
Valid encoding strings that may be part of the "graphEncoding" parameter are: "base64", "zlib" and "encodeURIComponent".
request - The current HTTP requestgraphParam - The parameter which was used to send the GraphML data.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||