Moving ExtensionConfig out of .api and into .extensions where it belongs

This commit is contained in:
Joakim Erdfelt 2012-07-05 16:29:14 -07:00
parent 11280ca22d
commit 8fa35533b6
11 changed files with 9 additions and 11 deletions

View File

@ -15,7 +15,6 @@
*******************************************************************************/
package org.eclipse.jetty.websocket.extensions;
import org.eclipse.jetty.websocket.api.ExtensionConfig;
public class AbstractExtension implements Extension
{

View File

@ -15,7 +15,6 @@
*******************************************************************************/
package org.eclipse.jetty.websocket.extensions;
import org.eclipse.jetty.websocket.api.ExtensionConfig;
public interface Extension
{

View File

@ -1,4 +1,4 @@
package org.eclipse.jetty.websocket.api;
package org.eclipse.jetty.websocket.extensions;
import java.util.HashMap;
import java.util.Map;

View File

@ -20,8 +20,8 @@ import java.util.zip.Inflater;
import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.log.Logger;
import org.eclipse.jetty.websocket.api.ExtensionConfig;
import org.eclipse.jetty.websocket.extensions.AbstractExtension;
import org.eclipse.jetty.websocket.extensions.ExtensionConfig;
/**
* @TODO Implement proposed deflate frame draft

View File

@ -15,8 +15,8 @@
*******************************************************************************/
package org.eclipse.jetty.websocket.extensions.fragment;
import org.eclipse.jetty.websocket.api.ExtensionConfig;
import org.eclipse.jetty.websocket.extensions.AbstractExtension;
import org.eclipse.jetty.websocket.extensions.ExtensionConfig;
public class FragmentExtension extends AbstractExtension
{

View File

@ -16,11 +16,11 @@ import org.eclipse.jetty.util.BufferUtil;
import org.eclipse.jetty.util.Callback;
import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.log.Logger;
import org.eclipse.jetty.websocket.api.ExtensionConfig;
import org.eclipse.jetty.websocket.api.StatusCode;
import org.eclipse.jetty.websocket.api.WebSocketConnection;
import org.eclipse.jetty.websocket.api.WebSocketPolicy;
import org.eclipse.jetty.websocket.callbacks.WebSocketCloseCallback;
import org.eclipse.jetty.websocket.extensions.ExtensionConfig;
import org.eclipse.jetty.websocket.frames.BinaryFrame;
import org.eclipse.jetty.websocket.frames.CloseFrame;
import org.eclipse.jetty.websocket.frames.TextFrame;

View File

@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import org.eclipse.jetty.util.QuotedStringTokenizer;
import org.eclipse.jetty.websocket.api.ExtensionConfig;
import org.eclipse.jetty.websocket.extensions.ExtensionConfig;
public class ServletWebSocketRequest extends HttpServletRequestWrapper implements WebSocketRequest
{

View File

@ -7,7 +7,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;
import org.eclipse.jetty.websocket.api.ExtensionConfig;
import org.eclipse.jetty.websocket.extensions.ExtensionConfig;
public class ServletWebSocketResponse extends HttpServletResponseWrapper implements WebSocketResponse
{

View File

@ -2,7 +2,7 @@ package org.eclipse.jetty.websocket.server;
import java.util.List;
import org.eclipse.jetty.websocket.api.ExtensionConfig;
import org.eclipse.jetty.websocket.extensions.ExtensionConfig;
public interface WebSocketRequest
{

View File

@ -3,7 +3,7 @@ package org.eclipse.jetty.websocket.server;
import java.io.IOException;
import java.util.List;
import org.eclipse.jetty.websocket.api.ExtensionConfig;
import org.eclipse.jetty.websocket.extensions.ExtensionConfig;
public interface WebSocketResponse
{

View File

@ -34,12 +34,12 @@ import org.eclipse.jetty.util.component.AbstractLifeCycle;
import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.log.Logger;
import org.eclipse.jetty.websocket.annotations.WebSocket;
import org.eclipse.jetty.websocket.api.ExtensionConfig;
import org.eclipse.jetty.websocket.api.WebSocketException;
import org.eclipse.jetty.websocket.api.WebSocketPolicy;
import org.eclipse.jetty.websocket.driver.EventMethodsCache;
import org.eclipse.jetty.websocket.driver.WebSocketEventDriver;
import org.eclipse.jetty.websocket.extensions.Extension;
import org.eclipse.jetty.websocket.extensions.ExtensionConfig;
import org.eclipse.jetty.websocket.extensions.deflate.DeflateFrameExtension;
import org.eclipse.jetty.websocket.extensions.fragment.FragmentExtension;
import org.eclipse.jetty.websocket.extensions.identity.IdentityExtension;