public class UriResolverReaderParameter extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
UriResolverReaderParameter(String scope) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUri() |
String |
getContentTypeParameter() |
String |
getFileNameParameter() |
Map<String,String> |
getHashParemeters(String smp,
String fileName,
String contentType) |
String |
getQuery() |
String |
getSmpParameter() |
boolean |
isAvailable() |
static void |
main(String[] args) |
InputStream |
resolveAsInputStream(String smp,
String fileName,
String contentType)
Resolve - open stream with http get method
|
String |
resolveAsUriRequest(String smp,
String fileName,
String contentType,
boolean encodeParams) |
String |
toString() |
public InputStream resolveAsInputStream(String smp, String fileName, String contentType) throws Exception
smp
- IOException
Exception
public String resolveAsUriRequest(String smp, String fileName, String contentType, boolean encodeParams) throws Exception
smp
- fileName
- contentType
- encodeParams
- - if true, translates a string into application/x-www-form-urlencoded
format using a specific encoding schemeException
public Map<String,String> getHashParemeters(String smp, String fileName, String contentType) throws Exception
smp
- fileName
- contentType
- Exception
public boolean isAvailable()
public String getBaseUri()
public String getSmpParameter()
public String getFileNameParameter()
public String getContentTypeParameter()
public String getQuery()
Copyright © 2015. All Rights Reserved.