File tree 6 files changed +14
-8
lines changed
src/org/openqa/selenium/remote/server
test/org/openqa/selenium/remote/server/commandhandler
6 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 28
28
import org .openqa .selenium .remote .JsonToBeanConverter ;
29
29
import org .openqa .selenium .remote .SessionId ;
30
30
import org .openqa .selenium .remote .http .HttpMethod ;
31
+ import org .openqa .selenium .remote .server .commandhandler .BeginSession ;
31
32
import org .openqa .selenium .remote .server .commandhandler .GetAllSessions ;
32
33
import org .openqa .selenium .remote .server .commandhandler .GetLogTypes ;
33
34
import org .openqa .selenium .remote .server .commandhandler .GetLogsOfType ;
Original file line number Diff line number Diff line change @@ -70,10 +70,8 @@ java_library(
70
70
'ActiveSessionFactory.java' ,
71
71
'ActiveSessionListener.java' ,
72
72
'ActiveSessions.java' ,
73
- 'BeginSession.java' ,
74
73
'AllHandlers.java' ,
75
74
'CommandHandler.java' ,
76
- 'ExceptionHandler.java' ,
77
75
'InMemorySession.java' ,
78
76
'Passthrough.java' ,
79
77
'ProtocolConverter.java' ,
Original file line number Diff line number Diff line change 29
29
30
30
import org .openqa .selenium .logging .LoggingHandler ;
31
31
import org .openqa .selenium .remote .SessionId ;
32
+ import org .openqa .selenium .remote .server .commandhandler .ExceptionHandler ;
32
33
import org .openqa .selenium .remote .server .log .LoggingManager ;
33
34
import org .openqa .selenium .remote .server .log .PerSessionLogHandler ;
34
35
import org .openqa .selenium .remote .server .xdrpc .CrossDomainRpc ;
Original file line number Diff line number Diff line change 15
15
// specific language governing permissions and limitations
16
16
// under the License.
17
17
18
- package org .openqa .selenium .remote .server ;
18
+ package org .openqa .selenium .remote .server . commandhandler ;
19
19
20
20
import static com .google .common .net .MediaType .JSON_UTF_8 ;
21
21
import static java .net .HttpURLConnection .HTTP_OK ;
30
30
import org .openqa .selenium .remote .CapabilityType ;
31
31
import org .openqa .selenium .remote .http .HttpRequest ;
32
32
import org .openqa .selenium .remote .http .HttpResponse ;
33
+ import org .openqa .selenium .remote .server .ActiveSession ;
34
+ import org .openqa .selenium .remote .server .ActiveSessionFactory ;
35
+ import org .openqa .selenium .remote .server .ActiveSessions ;
36
+ import org .openqa .selenium .remote .server .CommandHandler ;
37
+ import org .openqa .selenium .remote .server .NewSessionPayload ;
33
38
import org .openqa .selenium .remote .server .log .LoggingManager ;
34
39
35
40
import java .io .IOException ;
36
41
import java .io .InputStreamReader ;
37
42
import java .io .Reader ;
38
43
import java .util .logging .Level ;
39
44
40
- class BeginSession implements CommandHandler {
45
+ public class BeginSession implements CommandHandler {
41
46
42
47
private final ActiveSessionFactory sessionFactory ;
43
48
private final ActiveSessions allSessions ;
Original file line number Diff line number Diff line change 15
15
// specific language governing permissions and limitations
16
16
// under the License.
17
17
18
- package org .openqa .selenium .remote .server ;
18
+ package org .openqa .selenium .remote .server . commandhandler ;
19
19
20
20
import static com .google .common .net .MediaType .JSON_UTF_8 ;
21
21
import static java .net .HttpURLConnection .HTTP_INTERNAL_ERROR ;
29
29
import org .openqa .selenium .remote .ErrorCodes ;
30
30
import org .openqa .selenium .remote .http .HttpRequest ;
31
31
import org .openqa .selenium .remote .http .HttpResponse ;
32
+ import org .openqa .selenium .remote .server .CommandHandler ;
32
33
33
34
import java .util .HashMap ;
34
35
import java .util .Map ;
39
40
* Takes an exception and formats it for a local end that speaks either the OSS or W3C dialect of
40
41
* the wire protocol.
41
42
*/
42
- class ExceptionHandler implements CommandHandler {
43
+ public class ExceptionHandler implements CommandHandler {
43
44
44
45
private final static ErrorCodes ERRORS = new ErrorCodes ();
45
46
private final static BeanToJsonConverter toJson = new BeanToJsonConverter ();
Original file line number Diff line number Diff line change 15
15
// specific language governing permissions and limitations
16
16
// under the License.
17
17
18
- package org .openqa .selenium .remote .server ;
18
+ package org .openqa .selenium .remote .server . commandhandler ;
19
19
20
- import static java .net .HttpURLConnection .HTTP_BAD_REQUEST ;
21
20
import static java .net .HttpURLConnection .HTTP_INTERNAL_ERROR ;
22
21
import static org .junit .Assert .assertEquals ;
23
22
32
31
import org .openqa .selenium .remote .http .HttpMethod ;
33
32
import org .openqa .selenium .remote .http .HttpRequest ;
34
33
import org .openqa .selenium .remote .http .HttpResponse ;
34
+ import org .openqa .selenium .remote .server .commandhandler .ExceptionHandler ;
35
35
36
36
import java .lang .reflect .Type ;
37
37
import java .util .Map ;
You can’t perform that action at this time.
0 commit comments