polish
This commit is contained in:
@@ -65,6 +65,10 @@ public class DefaultFlowUrlHandler implements FlowUrlHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getFlowId(HttpServletRequest request) {
|
public String getFlowId(HttpServletRequest request) {
|
||||||
|
String pathInfo = request.getPathInfo();
|
||||||
|
if (pathInfo == null) {
|
||||||
|
throw new IllegalStateException("The HttpServletRequest pathInfo is null; unable to extract flowId");
|
||||||
|
}
|
||||||
return request.getPathInfo().substring(1);
|
return request.getPathInfo().substring(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user