public class RequesterSingletonFactory extends Object
RequesterFactory is recommended
instead of this class; this class should only be used if you really need a singleton.| Modifier and Type | Method and Description |
|---|---|
static AbstractRequester |
getRequester(RequestMethod method)
Returns a singleton requester which matches the method.
|
static AbstractRequester |
getRequester(RequestMethod method,
Charset charset)
Returns a singleton requester which matches the method.
|
public static AbstractRequester getRequester(RequestMethod method)
method - the method (i.e. GET or POST)public static AbstractRequester getRequester(RequestMethod method, Charset charset)
method - the method (i.e. GET or POST)charset - the character encoding to useCopyright © 2016. All rights reserved.