We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a815e0 commit 2a76644Copy full SHA for 2a76644
java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java
@@ -510,14 +510,14 @@ public enum ExtractorResult {
510
* Allows the HTTP response to be changed.
511
* <pre>
512
* {@code
513
- * new ResponseCustomizer() {
+ * TLSClientHelloExtractor.RESPONSE_CUSTOMIZER = new ResponseCustomizer() {
514
* @Override
515
* public byte[] customize(ByteBuffer netInBuffer) {
516
* return ("HTTP/1.1 302 \r\n" +
517
* "Location: https://www.example.org/index.html\r\n" +
518
* "\r\n").getBytes(StandardCharsets.UTF_8);
519
* }
520
- * }
+ * };
521
522
* </pre>
523
*/
0 commit comments