Skip to content

Commit

Permalink
filling in some more of the Request and Response
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwest committed Feb 23, 2012
1 parent f9ace7f commit 3b19a7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,2 +1,2 @@

project/target
.idea*
8 changes: 4 additions & 4 deletions src/main/scala/com/something/lift/NothingServerHandler.scala
Expand Up @@ -166,7 +166,7 @@ class NettyHttpRequest extends HTTPRequest {
* @return - all header parameters present in this request. Nil if no
* headers are used.
*/
def headers: List[HTTPParam] = throw new Exception("Implement me")
def headers: List[HTTPParam] = Nil //TODO FIXME // throw new Exception("Implement me")

/**
* @return - the context path. Similar with HttpServletRequest.getContextPath.
Expand Down Expand Up @@ -278,7 +278,7 @@ class NettyHttpRequest extends HTTPRequest {
* @return - Some[Any] if this is a resumed request, return the state
* associated with it.
*/
def resumeInfo : Option[(Req, LiftResponse)] = throw new Exception("Implement me") // FIXME trivial support
def resumeInfo : Option[(Req, LiftResponse)] = None // FIXME trivial support

/**
* Suspend the curent request and resume it after a given timeout
Expand Down Expand Up @@ -341,7 +341,7 @@ class NettyHttpRequest extends HTTPRequest {
*
* @param cookies - the list of response cookies
*/
def addCookies(cookies: List[HTTPCookie]) = throw new Exception("Implement me")
def addCookies(cookies: List[HTTPCookie]) {} // FIXME // throw new Exception("Implement me")

/**
* Encodes the URL such that it adds the session ID if it is necessary to the URL.
Expand All @@ -357,7 +357,7 @@ class NettyHttpRequest extends HTTPRequest {
*
* @param headers - the list of headers
*/
def addHeaders(headers: List[HTTPParam]) = throw new Exception("Implement me")
def addHeaders(headers: List[HTTPParam]) {} // FIXME // throw new Exception("Implement me")

/**
* Sets the HTTP response status
Expand Down

0 comments on commit 3b19a7b

Please sign in to comment.