public class OHttpMultipartFileToDiskContentParser extends Object implements OHttpMultipartContentParser<InputStream>
Modifier and Type | Field and Description |
---|---|
protected boolean |
overwrite |
protected String |
path |
Constructor and Description |
---|
OHttpMultipartFileToDiskContentParser(String iPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
isOverwrite() |
InputStream |
parse(OHttpRequest iRequest,
Map<String,String> headers,
OHttpMultipartContentInputStream in,
ODatabaseDocument database) |
OHttpMultipartFileToDiskContentParser |
setOverwrite(boolean overwrite) |
protected boolean overwrite
protected String path
public OHttpMultipartFileToDiskContentParser(String iPath)
public InputStream parse(OHttpRequest iRequest, Map<String,String> headers, OHttpMultipartContentInputStream in, ODatabaseDocument database) throws IOException
parse
in interface OHttpMultipartContentParser<InputStream>
IOException
public boolean isOverwrite()
public OHttpMultipartFileToDiskContentParser setOverwrite(boolean overwrite)
Copyright © 2009–2020 OrientDB. All rights reserved.