Skip to content

Commit

Permalink
add comments of web socket protocol implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Apr 10, 2012
1 parent 8337d80 commit e479ab5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Expand Up @@ -19,6 +19,10 @@
import java.util.HashMap;
import java.util.Map;

/**
* This abstract class represents JSON view of http request.
* And uses as TDO object to propagate http request.
*/
public abstract class AbstractJsonHttpServletRequest {

private String url;
Expand Down
Expand Up @@ -16,6 +16,10 @@

package com.jeny.atmosphere.integration.websocket;

/**
* This class represents JSON view of http request.
* And uses as TDO object to propagate http request.
*/
public class BaseJsonHttpServletRequest extends AbstractJsonHttpServletRequest {

private String body;
Expand Down
Expand Up @@ -28,6 +28,10 @@
import java.util.Locale;
import java.util.Map;

/**
* Used HttpServletRequestWrapper to propagate passed http request parameters, headers, cookies and etc.
* If some parameters (headers, cookies and etc) takes from initial request if they are missing.
*/
public class HttpServletRequestWrapper implements HttpServletRequest {

private HttpServletRequest initHttpServletRequest;
Expand Down

0 comments on commit e479ab5

Please sign in to comment.