protected static class LocalBlobImageServlet.ParsedUrl
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
protected static LocalBlobImageServlet.ParsedUrl |
createParsedUrl(java.lang.String requestUri)
Creates a
ParsedUrl instance from the given URL. |
java.lang.String |
getBlobKey()
Returns the parsed BlobKey.
|
boolean |
getCrop()
Returns the crop option.
|
int |
getResize()
Returns the resize option.
|
boolean |
hasOptions()
Checks if the parsed url has options.
|
protected void |
parse(java.lang.String requestUri)
Parses a Local URL to its component parts.
|
protected void |
parseOptions()
Parses URL options to its component parts.
|
public boolean hasOptions()
public java.lang.String getBlobKey()
public int getResize()
true
.public boolean getCrop()
true
.protected static LocalBlobImageServlet.ParsedUrl createParsedUrl(java.lang.String requestUri)
ParsedUrl
instance from the given URL.requestUri
- the requested URLprotected void parse(java.lang.String requestUri)
requestUri
- the Local request URLjava.lang.IllegalArgumentException
- for malformed URLsprotected void parseOptions()
java.lang.IllegalArgumentException
- for malformed options