Package com.predic8.membrane.core.util
Class URIFactory
java.lang.Object
com.predic8.membrane.core.util.URIFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSimply callscreate(String), but catches anyURISyntaxExceptionand wraps it in anIllegalArgumentException.booleanbooleanvoidsetAllowIllegalCharacters(boolean allowIllegalCharacters) voidsetAutoEscapeBackslashes(boolean autoEscapeBackslashes)
-
Constructor Details
-
URIFactory
public URIFactory() -
URIFactory
public URIFactory(boolean allowIllegalCharacters)
-
-
Method Details
-
isAllowIllegalCharacters
public boolean isAllowIllegalCharacters() -
setAllowIllegalCharacters
public void setAllowIllegalCharacters(boolean allowIllegalCharacters) -
isAutoEscapeBackslashes
public boolean isAutoEscapeBackslashes() -
setAutoEscapeBackslashes
public void setAutoEscapeBackslashes(boolean autoEscapeBackslashes) -
create
- Throws:
URISyntaxException
-
createWithoutException
Simply callscreate(String), but catches anyURISyntaxExceptionand wraps it in anIllegalArgumentException.
-