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 26
+
+
+
+ 27
+
+
+
+ 28
+
+
+
+ 29
+
+
+
+ 30
+
+
+
+ 31
+
+
+
+
+
+ 1
+
+
+
+ 2
+
+
+
+ 3
+
+
+
+ 4
+
+
+
+ 5
+
+
+
+ 6
+
+
+
+ 7
+
+
+
+
+
+ 1
+
+
+
+ 2
+
+
+
+ 3
+
+
+
+ 4
+
+
+
+ 5
+
+
+
+ 6
+
+
+
+ 7
+
+
+
+ 8
+
+
+
+ 9
+
+
+
+ 10
+
+
+
+ 11
+
+
+
+ 12
+
+
+
+ 13
+
+
+
+ 14
+
+
+
+ 15
+
+
+
+ 16
+
+
+
+ 17
+
+
+
+ 18
+
+
+
+ 19
+
+
+
+ 20
+
+
+
+
+
+`;
+
+exports[`Storyshots SyntaxHighlighter Without line numbers 1`] = `
+
+
+
+
+ package
+
+
+ com.example;
+
+
+
+
+
+
+
+
+ import
+
+
+ java.io.IOException;
+
+
+
+
+
+
+ import
+
+
+ java.io.OutputStream;
+
+
+
+
+
+
+ import
+
+
+ java.net.InetSocketAddress;
+
+
+
+
+
+
+
+
+ import
+
+
+ com.sun.net.httpserver.HttpExchange;
+
+
+
+
+
+
+ import
+
+
+ com.sun.net.httpserver.HttpHandler;
+
+
+
+
+
+
+ import
+
+
+ com.sun.net.httpserver.HttpServer;
+
+
+
+
+
+
+
+
+ public
+
+
+
+
+
+ class
+
+
+
+
+
+ Test
+
+
+
+
+
+ {
+
+
+
+
+
+
+
+
+ public
+
+
+
+
+
+ static
+
+
+
+
+
+ void
+
+
+
+
+
+ main
+
+
+ (String[] args)
+
+
+
+
+
+ throws
+
+
+ Exception
+
+
+ {
+
+
+
+ HttpServer server = HttpServer.create(
+
+
+ new
+
+
+ InetSocketAddress(
+
+
+ 8000
+
+
+ ),
+
+
+ 0
+
+
+ );
+
+
+
+ server.createContext(
+
+
+ "/test"
+
+
+ ,
+
+
+ new
+
+
+ MyHandler());
+
+
+
+ server.setExecutor(
+
+
+ null
+
+
+ );
+
+
+ // creates a default executor
+
+
+
+
+
+ server.start();
+
+ }
+
+
+
+
+
+
+
+ static
+
+
+
+
+
+ class
+
+
+
+
+
+ MyHandler
+
+
+
+
+
+ implements
+
+
+
+
+
+ HttpHandler
+
+
+
+
+
+ {
+
+
+
+
+
+
+ @Override
+
+
+
+
+
+
+
+
+
+ public
+
+
+
+
+
+ void
+
+
+
+
+
+ handle
+
+
+ (HttpExchange t)
+
+
+
+
+
+ throws
+
+
+ IOException
+
+
+ {
+
+
+
+ String response =
+
+
+ "This is the response"
+
+
+ ;
+
+
+
+ t.sendResponseHeaders(
+
+
+ 200
+
+
+ , response.length());
+
+
+ OutputStream os = t.getResponseBody();
+
+ os.write(response.getBytes());
+
+ os.close();
+
+ }
+
+ }
+
+
+
+ }
+
+
+