Author: markt
Date: Tue Jan 22 09:31:23 2013
New Revision: 1436816
URL: http://svn.apache.org/viewvc?rev=1436816&view=rev
Log:
Populate some Javadoc
Modified:
tomcat/trunk/java/javax/websocket/ClientEndpointConfiguration.java
Modified: tomcat/trunk/java/javax/websocket/ClientEndpointConfiguration.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/websocket/ClientEndpointConfiguration.java?rev=1436816&r1=1436815&r2=1436816&view=diff
==============================================================================
--- tomcat/trunk/java/javax/websocket/ClientEndpointConfiguration.java
(original)
+++ tomcat/trunk/java/javax/websocket/ClientEndpointConfiguration.java Tue Jan
22 09:31:23 2013
@@ -25,7 +25,19 @@ public interface ClientEndpointConfigura
List<String> getExtensions();
+ /**
+ * Provides the client with a mechanism to inspect and/or modify the
headers
+ * that are sent to the server to start the WebSocket handshake.
+ *
+ * @param headers The HTTP headers
+ */
void beforeRequest(Map<String, List<String>> headers);
+ /**
+ * Provides the client with a mechanism to inspect the handshake response
+ * that is returned from the server.
+ *
+ * @param handshakeResponse The response
+ */
void afterResponse(HandshakeResponse handshakeResponse);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]