Lift on Monday, Wednesday, Friday
Climb on Tuesdays/Thursdays and Saturdays
Lift on Monday, Wednesday, Friday
Climb on Tuesdays/Thursdays and Saturdays
private static final MappingDiscoverer DISCOVERER = new AnnotationMappingDiscoverer(RequestMapping.class); | |
public static URI linkTo(Object invocationValue) { | |
LastInvocationAware invocations = (LastInvocationAware) invocationValue; | |
DummyInvocationUtils.MethodInvocation invocation = invocations.getLastInvocation(); | |
String mapping = DISCOVERER.getMapping(invocation.getTargetType(), invocation.getMethod()); | |
return new UriTemplate(mapping).expand(invocation.getArguments()); | |
} |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/bin/bash | |
export PW=`pwgen -Bs 10 1` | |
echo "$PW" > password | |
# Create a self signed certificate & private key to create a root certificate authority. | |
keytool -genkeypair -v \ | |
-alias clientCA \ | |
-keystore client.jks \ |