@RestClient
@Logging(loglevel = LogLevel.FULL)
private CityClient clietClient;
@RestClient(loglevel = LogLevel.FULL)
package com.example.restdemo; | |
import java.util.Arrays; | |
import java.util.List; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.http.MediaType; | |
import org.springframework.http.ResponseEntity; |
@Provider | |
public class FriendlyIdConverterProvider implements ParamConverterProvider { | |
@Override | |
public <T> ParamConverter<T> getConverter(Class<T> clazz, Type type, Annotation[] annotations) { | |
if (clazz.getName().equals(UUID.class.getName())) { | |
return new ParamConverter<T>() { | |
@SuppressWarnings("unchecked") |
# sdkman | |
set PATH $PATH (find ~/.sdkman/candidates/*/current/bin -maxdepth 0) |
Bring your own phone | |
Error opening /portlets/common/checkout/leadGenShareReadyOrderSummary.jsp. | |
The source of this error is: | |
javax.servlet.ServletException: java.lang.NullPointerException | |
at org.apache.beehive.netui.util.internal.ServletUtils.throwServletException(ServletUtils.java:165) | |
at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:412) | |
at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284) | |
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) |
```java | |
public class Ambiguous { | |
public static void main(String... args){ | |
then(bar()); | |
} | |
public static <E extends Float> E bar() { | |
return null; | |
} |
# skype.spec for skype-4.3.0.37 (x32) | |
# | |
# Build with: rpmbuild -ba --target=i686 skype.spec | |
# | |
# Original skype.spec for 4.2.0.11 | |
# https://github.com/mopsfelder/skype-rpm/blob/master/skype.spec | |
#%global debug_package %{nil} | |
Name: skype |
@RestClient(endpoint = "http://city.com/rest/", | |
version = "v2") | |
@Logging(logLevel = LogLevel.BASIC) | |
public class CityService { | |
@Cache(ttl = 3000) | |
public CIty findCityByLocation(Location location); | |
@Logging(logLevel = LogLevel.FULL) |
@RestClient
@Logging(loglevel = LogLevel.FULL)
private CityClient clietClient;
@RestClient(loglevel = LogLevel.FULL)
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Proin nibh augue, suscipit a, scelerisque sed, lacinia in, mi. Cras vel lorem. Etiam pellentesque aliquet tellus. This should not break here!
Here is proper break!