RqHref.Base, RqHref.Smart
Constructor and Description |
---|
RqHref.Smart(RqHref req)
Ctor.
|
public RqHref.Smart(RqHref req)
req
- Original requestpublic Href href() throws IOException
RqHref
href
in interface RqHref
IOException
- If failspublic Iterable<String> head() throws IOException
Request
head
in interface Request
IOException
- If something goes wrongpublic InputStream body() throws IOException
Request
body
in interface Request
IOException
- If something goes wrongpublic String get(String name) throws IOException
name
- Name of query paramIOException
- If failspublic String get(String name, String def) throws IOException
name
- Name of query paramdef
- Default, if not foundIOException
- If failsCopyright © 2015 Take. All rights reserved.