public class ResourceRequest extends Object
Constructor and Description |
---|
ResourceRequest(String path)
Creates a resource request which doesn't accept gzip.
|
ResourceRequest(String path,
boolean acceptGzip)
Creates a resource request.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getPath() |
int |
hashCode() |
boolean |
isAcceptGzip() |
public ResourceRequest(String path)
path
- the requested resource path.public ResourceRequest(String path, boolean acceptGzip)
path
- the requested resource path.acceptGzip
- if gzip is accepted.Copyright © 2013-2018–2019 SeedStack. All rights reserved.