Class FavouriteQuery

  extended by<M>
      extended by<Favourite>
          extended by

public class FavouriteQuery
extends Query<Favourite>

Field Summary
static String BASE_URL
Fields inherited from class
Constructor Summary
Method Summary
 Class<Favourite> getModelClass()
 String getUrl()
          Must start with a slash, for example: /api/metrics
Methods inherited from class
appendUrlParameter, appendUrlParameter, appendUrlParameter, appendUrlParameter, encode, getBody, getLocale, getTimeoutMilliseconds, setLocale, setTimeoutMilliseconds
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final String BASE_URL
See Also:
Constant Field Values
Constructor Detail


public FavouriteQuery()
Method Detail


public Class<Favourite> getModelClass()
Specified by:
getModelClass in class Query<Favourite>


public String getUrl()
Description copied from class: AbstractQuery
Must start with a slash, for example: /api/metrics

IMPORTANT: In implementations of this method we must use helper methods to construct URL.

Specified by:
getUrl in class AbstractQuery<Favourite>
See Also:
AbstractQuery.encode(String), AbstractQuery.appendUrlParameter(StringBuilder, String, Object), AbstractQuery.appendUrlParameter(StringBuilder, String, Object[]), AbstractQuery.appendUrlParameter(StringBuilder, String, Date, boolean)

Copyright © 2009-2014 SonarSource. All Rights Reserved.