class Origin implements Serializable {

    public static Origin create(String value) {
        try {
            return new Origin(value);
        } catch (NullPointerException e) {
            throw new IllegalArgumentException("value is out of range: null", e);
        }
    }

    @Deprecated public  Origin(String scheme, String host, int port);
    public  Origin(String originUrl);

}