com.madgag.guardian.contentapi
Class PageRequest

java.lang.Object
  extended by com.madgag.guardian.contentapi.ApiRequest<PageRequest,PageResponse>
      extended by com.madgag.guardian.contentapi.PageRequest
All Implemented Interfaces:
ContentRequest<PageRequest>

public class PageRequest
extends ApiRequest<PageRequest,PageResponse>
implements ContentRequest<PageRequest>


Field Summary
 
Fields inherited from class com.madgag.guardian.contentapi.ApiRequest
COMMA_JOINER, hitter
 
Constructor Summary
PageRequest(java.lang.String id, UrlHitter hitter)
           
 
Method Summary
 javax.xml.bind.JAXBContext getJaxbContextForResponse()
           
 java.util.Map<java.lang.String,java.lang.String> getParams()
           
 java.lang.String getPathPrefix()
           
 PageRequest showFields(java.lang.String... fields)
           
 PageRequest showTags(java.lang.String... tagTypes)
           
 
Methods inherited from class com.madgag.guardian.contentapi.ApiRequest
execute, toUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageRequest

public PageRequest(java.lang.String id,
                   UrlHitter hitter)
Method Detail

getParams

public java.util.Map<java.lang.String,java.lang.String> getParams()

getPathPrefix

public java.lang.String getPathPrefix()

showFields

public PageRequest showFields(java.lang.String... fields)
Specified by:
showFields in interface ContentRequest<PageRequest>

showTags

public PageRequest showTags(java.lang.String... tagTypes)
Specified by:
showTags in interface ContentRequest<PageRequest>

getJaxbContextForResponse

public javax.xml.bind.JAXBContext getJaxbContextForResponse()
Specified by:
getJaxbContextForResponse in class ApiRequest<PageRequest,PageResponse>


Copyright © 2010. All Rights Reserved.