org.httpobjects.servlet.impl
Class LazyRequestImpl

java.lang.Object
  extended by org.httpobjects.servlet.impl.LazyRequestImpl
All Implemented Interfaces:
Request

public class LazyRequestImpl
extends Object
implements Request


Constructor Summary
LazyRequestImpl(PathVariables vars, javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 String contentType()
           
 List<SetCookieField> cookies()
           
 String getParameter(String name)
           
 boolean hasRepresentation()
           
 RequestHeader header()
           
 Request immutableCopy()
           
 PathVariables pathVars()
           
 String query()
           
 Representation representation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyRequestImpl

public LazyRequestImpl(PathVariables vars,
                       javax.servlet.http.HttpServletRequest request)
Method Detail

pathVars

public PathVariables pathVars()
Specified by:
pathVars in interface Request

contentType

public String contentType()

hasRepresentation

public boolean hasRepresentation()
Specified by:
hasRepresentation in interface Request

cookies

public List<SetCookieField> cookies()
Specified by:
cookies in interface Request

query

public String query()
Specified by:
query in interface Request

getParameter

public String getParameter(String name)
Specified by:
getParameter in interface Request

header

public RequestHeader header()
Specified by:
header in interface Request

representation

public Representation representation()
Specified by:
representation in interface Request

immutableCopy

public Request immutableCopy()
Specified by:
immutableCopy in interface Request


Copyright © 2013. All Rights Reserved.