com.google.sitebricks.routing
Class DefaultPageBook.InstanceBoundPage

java.lang.Object
  extended by com.google.sitebricks.routing.DefaultPageBook.InstanceBoundPage
All Implemented Interfaces:
PageBook.Page, Comparable<PageBook.Page>
Enclosing class:
DefaultPageBook

public static class DefaultPageBook.InstanceBoundPage
extends Object
implements PageBook.Page


Method Summary
 void apply(Renderable widget)
           
 int compareTo(PageBook.Page page)
           
static DefaultPageBook.InstanceBoundPage delegating(PageBook.Page delegate, Object instance)
           
 Object doMethod(String httpMethod, Object page, String pathInfo, Request request)
           
 Set<String> getMethod()
           
 String getUri()
           
 Object instantiate()
           
 boolean isDecorated()
           
 boolean isHeadless()
           
 Class<?> pageClass()
           
 Renderable widget()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

widget

public Renderable widget()
Specified by:
widget in interface PageBook.Page

instantiate

public Object instantiate()
Specified by:
instantiate in interface PageBook.Page

doMethod

public Object doMethod(String httpMethod,
                       Object page,
                       String pathInfo,
                       Request request)
Specified by:
doMethod in interface PageBook.Page

pageClass

public Class<?> pageClass()
Specified by:
pageClass in interface PageBook.Page

apply

public void apply(Renderable widget)
Specified by:
apply in interface PageBook.Page

getUri

public String getUri()
Specified by:
getUri in interface PageBook.Page

isHeadless

public boolean isHeadless()
Specified by:
isHeadless in interface PageBook.Page

isDecorated

public boolean isDecorated()
Specified by:
isDecorated in interface PageBook.Page

getMethod

public Set<String> getMethod()
Specified by:
getMethod in interface PageBook.Page

compareTo

public int compareTo(PageBook.Page page)
Specified by:
compareTo in interface Comparable<PageBook.Page>

delegating

public static DefaultPageBook.InstanceBoundPage delegating(PageBook.Page delegate,
                                                           Object instance)


Copyright © 2014. All rights reserved.